Minor fix to QualifiedDo docs about ApplicativeDo desugaring
When desugaring ApplicativeDo, GHC looks up the name fmap
, not <$>
(see GHC.Builtin.Names.fmapName
). This commit fixes the misleading documentation; since exporting the name <$>
instead of fmap
causes a "not in scope" error when QualifiedDo
and ApplicativeDo
is combined.
I guess an alternative fix would change fmapName
to use <$>
instead of fmap
but that'd be a breaking change.