Using Free Monads with Generators in the Effect Library
I've been playing around with free monads in js, and there's a bunch of libraries for them, but none that seem to use generators with them
The Effect library seems to be an IO<Result<...>> monad, which allows for arbitrary side effects if I understand correctly
I'm looking more for a free monad though to limit which effects can be encoded, while being able to use generator functions for the syntactic sugar, can I still do this with Effect?
The Effect library seems to be an IO<Result<...>> monad, which allows for arbitrary side effects if I understand correctly
I'm looking more for a free monad though to limit which effects can be encoded, while being able to use generator functions for the syntactic sugar, can I still do this with Effect?
