Skip to content

What is the recommended way to handle multiple of the same effects? #315

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

You must be logged in to vote

If it's your effect (i.e. you have control over its definition), you can add a phantom level type parameter to it.

Otherwise you can use Effectful.Labeled to assign a label to them.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by tonyalaribe
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
Converted from issue

This discussion was converted from issue #314 on March 20, 2025 02:16.