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(ListT)
|
||||||
GO(MaybeT)
|
GO(MaybeT)
|
||||||
GOX(Error e, ErrorT e)
|
GOX(Error e, ErrorT e)
|
||||||
|
#if __GLASGOW_HASKELL__ >= 710
|
||||||
GO(ExceptT e)
|
GO(ExceptT e)
|
||||||
|
#endif
|
||||||
GO(ReaderT r)
|
GO(ReaderT r)
|
||||||
GO(StateT s)
|
GO(StateT s)
|
||||||
GOX(Monoid w, WriterT w)
|
GOX(Monoid w, WriterT w)
|
||||||
@ -80,7 +82,9 @@ GO(IdentityT)
|
|||||||
GO(ListT)
|
GO(ListT)
|
||||||
GO(MaybeT)
|
GO(MaybeT)
|
||||||
GOX(Error e, ErrorT e)
|
GOX(Error e, ErrorT e)
|
||||||
|
#if __GLASGOW_HASKELL__ >= 710
|
||||||
GO(ExceptT e)
|
GO(ExceptT e)
|
||||||
|
#endif
|
||||||
GO(ReaderT r)
|
GO(ReaderT r)
|
||||||
GO(StateT s)
|
GO(StateT s)
|
||||||
GOX(Monoid w, WriterT w)
|
GOX(Monoid w, WriterT w)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user