Only emit MonadHandler and MonadWidget instance for ExceptT when GHC version >= 7.10, since that's the first version tied to transformers-0.4.0.0 which introduced ExceptT
This commit is contained in:
parent
ee100d7be0
commit
58fb977276
@ -56,7 +56,9 @@ GO(IdentityT)
|
||||
GO(ListT)
|
||||
GO(MaybeT)
|
||||
GOX(Error e, ErrorT e)
|
||||
#if __GLASGOW_HASKELL__ >= 710
|
||||
GO(ExceptT e)
|
||||
#endif
|
||||
GO(ReaderT r)
|
||||
GO(StateT s)
|
||||
GOX(Monoid w, WriterT w)
|
||||
@ -80,7 +82,9 @@ GO(IdentityT)
|
||||
GO(ListT)
|
||||
GO(MaybeT)
|
||||
GOX(Error e, ErrorT e)
|
||||
#if __GLASGOW_HASKELL__ >= 710
|
||||
GO(ExceptT e)
|
||||
#endif
|
||||
GO(ReaderT r)
|
||||
GO(StateT s)
|
||||
GOX(Monoid w, WriterT w)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user