Skip to content

How do I remove IOE effect from my static api? #276

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

You must be logged in to vote

You can't 🤔

Statically dispatched effects are supposed to be (for the lack of a better word) primitive, i.e. only use IO and data associated with your StaticRep instance. I think this needs more emphasis in the documentation.

If you find yourself in a situation of combining multiple effects in core functions of such effect, you actually want dynamic dispatch with all of its perks.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@newhoggy
Comment options

Answer selected by newhoggy
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