eff
eff copied to clipboard
Interpret Error effect using exceptions
Would it be possible to interpret the Error effect using exceptions instead of Eithers like polysemy's errorToIOFinal?
Not right now, but it will be possible before the library is released. Currently it isn’t possible to handle Catch in a way that catches IO exceptions, but that will be added as part of a broader API for interacting with the IO subsystem. See also https://github.com/hasura/eff/issues/7#issuecomment-647106614 for some additional details.