We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes we want to reuse the same effect implementation but for different environment settings. Examples:
So it looks like some effects should be tagged (it's not tagless final anymore).
Initial idea: instead of
class MonadJwt m where
have
class MonadJwt (tag :: k) m where
So in constraints this will look like this:
foo :: (MonadJwt "app1" m, MonadJwt "app2" m) => ...
What do you think?
The text was updated successfully, but these errors were encountered:
MonadJwt
No branches or pull requests
Sometimes we want to reuse the same effect implementation but for different environment settings. Examples:
So it looks like some effects should be tagged (it's not tagless final anymore).
Initial idea: instead of
have
So in constraints this will look like this:
What do you think?
The text was updated successfully, but these errors were encountered: