yesod-form fails to build with transformers >= 0.6
TeofilC opened this issue · 2 comments
TeofilC commented
In transformers-0.6, the MonadTrans
class was changed to have a quantified constraint:
class (forall m. Monad m => Monad (t m)) => MonadTrans t where
...
This causes the MonadTrans AForm
instance to fail.
I feel like there's two solutions:
- Add a
Monad m => Monad (AForm m)
instance forAForm
though I feel like there's probably a reason for a lack of one - Remove the
MonadTrans
instance
snoyberg commented
I think (1) makes sense, but gated via CPP on the version of transformers
TeofilC commented
Sure I'll write up a patch next week.