You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can make a PR later if desired, but there should be a Comonad instance for Lift f
instanceComonadf=>Comonad (Liftf) whereextract::Liftfa->a
extract (Pure a) = a
extract (Other fa) = extract fa
extend:: (Liftfa->b) -> (Liftfa->Liftfb)
extend f =\casePure a ->Pure$ f (Pure a)
Other fa ->Other$ extend (f .Other) fa
The text was updated successfully, but these errors were encountered:
I can make a PR later if desired, but there should be a
Comonad
instance forLift f
The text was updated successfully, but these errors were encountered: