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 law for MonadAsk ask >>= \_ -> ask = ask only requires Applicative ask *> ask = ask. You can't execute effects depending on the environment, but you can compute results depending on the environment.
example = f <$> ask <*> other
The text was updated successfully, but these errors were encountered:
The law for MonadAsk
ask >>= \_ -> ask = ask
only requires Applicativeask *> ask = ask
. You can't execute effects depending on the environment, but you can compute results depending on the environment.The text was updated successfully, but these errors were encountered: