[Solved] Composing applicative functions [closed]
It can be done: composeApplicative p q = (.) <$> p <*> q For more information, read the documentation for Applicative functors, more specifically, the composition law. It is effectively a statement that any Applicative instance, composeApplicative f g <*> x must always be equal to f <*> (g <*> x). As a minor technical … Read more