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
improve::Functorf=> (forallm.MonadFreefm=>ma) ->Freefa
improve m = lowerCodensity m
lowerCodensity::Monadf=>Codensityfa->fa
The basic idea of improve is that the passed action does not depend on the choice of free monad construction (I don't actually remember why this matters, but that's the idea). The specific choice of Free f as the result monad, however, seems to be arbitrary. Thus
improve':: (Functorf, MonadFreefm') =>
(forallm.MonadFreefm=>ma) ->m'a
improve' m = lowerCodensity m
The text was updated successfully, but these errors were encountered:
The basic idea of
improve
is that the passed action does not depend on the choice of free monad construction (I don't actually remember why this matters, but that's the idea). The specific choice ofFree f
as the result monad, however, seems to be arbitrary. ThusThe text was updated successfully, but these errors were encountered: