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
The Composition Applicative laws is really an Apply law:
pure (.) <*> u <*> v <*> w ≡ u <*> (v <*> w)
You can rewrite the first term pure (.) <*> u as fmap (.) u, and then it does not depend on pure any more, making it a law for the Apply typeclass. This law is just Apply's associativity in disguise.
The text was updated successfully, but these errors were encountered:
The Composition
Applicative
laws is really anApply
law:You can rewrite the first term
pure (.) <*> u
asfmap (.) u
, and then it does not depend onpure
any more, making it a law for theApply
typeclass. This law is justApply
's associativity in disguise.The text was updated successfully, but these errors were encountered: