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.
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...
Similar in some way :)