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
Please forgive me if this is already defined somewhere--I couldn't find a precise match--but this function would be useful to have:
hoistCofree :: (Functor f) => (forall x . f x -> g x) -> Cofree f a -> Cofree g a hoistCofree f (x :< y) = x :< f (hoistCofree f <$> y)
The text was updated successfully, but these errors were encountered:
Toss a patch together and i'll happily accept it.
Sorry, something went wrong.
As it has no harm, I've just added it (a2008da).
Fair enough. =)
No branches or pull requests
Please forgive me if this is already defined somewhere--I couldn't find a precise match--but this function would be useful to have:
The text was updated successfully, but these errors were encountered: