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
{{ message }}
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
importPreludehiding (Functor)
classFunctorfwherefmap:: (a->b) ->fa->fbinstanceFunctor (Eithera) wherefmap _ (Left x) =Left x
fmap f (Right a) =Right$ f a
Expand the instance declaration for Either and note that it's conflated the a from the instance with the a from the type signature of fmap, which makes it look like a more restrictive type than it really is.