ekmett / exceptions

mtl friendly exceptions
Other
49 stars 32 forks source link

PrimMonad instance for CatchT #65

Open zenhack opened 6 years ago

zenhack commented 6 years ago

I've got a package I'm working on where much of the code is parametrized over both MonadThrow and PrimMonad, but unfortunately CatchT (ST s) (or in general PrimMonad m => CatchT m) isn't an instance of PrimMonad. Thoughts on adding an instance?