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
A could of 'trivial' instances, I just wrote them to write them so I have no use for them
instance Comonad f => MonadFree f (Tagged f) where wrap :: f (Tagged f a) -> Tagged f a wrap = extract instance MonadFree Identity Identity where wrap :: Identity (Identity a) -> Identity a wrap = extract
The text was updated successfully, but these errors were encountered:
Now I remember, as a consequence we can derive "MonadFree Identity Fresh" for our little friend down there:
MonadFree Identity Fresh
type Fresh :: Type -> Type newtype Fresh a = Fresh (Integer -> (a, Integer)) deriving (Functor, Applicative, Monad, MonadFix, MonadState Integer, MonadFree Identity) via State Integer
I was wondering if State Integer could make sense as a MonadFree instance which lead me to think about Identity ..
State Integer
MonadFree
Identity
Sorry, something went wrong.
No branches or pull requests
A could of 'trivial' instances, I just wrote them to write them so I have no use for them
The text was updated successfully, but these errors were encountered: