Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MonadRec typeclass #166

Open
andywhite37 opened this issue Sep 19, 2019 · 0 comments
Open

MonadRec typeclass #166

andywhite37 opened this issue Sep 19, 2019 · 0 comments
Assignees
Labels
type:enhancement New feature or request

Comments

@andywhite37
Copy link
Member

andywhite37 commented Sep 19, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants