Skip to content

Composing and zooming several effects #242

Answered by arybczak
expipiplus1 asked this question in Q&A
Discussion options

You must be logged in to vote

I might nest ExceptT and WriterT in a newtype and hide the internal details that way.

Yeah, reinterpret is for this. Have a look at the introduction section of the Effectful.Dispatch.Dynamic. runFileSystemPure uses a private State effect not visible from outside.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by expipiplus1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants