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
In master/src/Control/Monad/Free.hs, line 323, it says:
foldFree :: (Functor m, Monad m) => (forall x . f x -> m x) -> Free f a -> m a
It should probably be Functor f, not Functor m. It still typechecks because fmap isn't actually used in the definition, I think. (It would only be used in the proof of correctness, e.g. the naturality square.)
The text was updated successfully, but these errors were encountered:
In master/src/Control/Monad/Free.hs, line 323, it says:
It should probably be
Functor f
, notFunctor m
. It still typechecks becausefmap
isn't actually used in the definition, I think. (It would only be used in the proof of correctness, e.g. the naturality square.)The text was updated successfully, but these errors were encountered: