DEV Community

loading...

Discussion on: The Effect Data Types: Managed & Layer

Collapse
kasperpeulen profile image
Kasper Peulen

Looking forward to see how you implemtented monad comprehensions using generators!

As an exercise I have tried to implement them for a plain Reader monad. It is fully typesafe, using the yield* trick, that is also popular in the redux saga ecosystem.

gist.github.com/kasperpeulen/47242...

Collapse
mikearnaldi profile image
Michael Arnaldi Author

Similar in some way :)