relude
relude copied to clipboard
MonadRec typeclass
It would be really useful to have a stack-safe MonadRec
implementation, for use in IO, parsers, etc.
https://github.com/purescript/purescript-tailrec/blob/master/src/Control/Monad/Rec/Class.purs#L54-L55
I've started adding some of our own typeclasses in this file (e.g. MonadThrow and MonadError): https://github.com/reazen/relude/blob/master/src/Relude_Interface.re#L84-L96