Skip to content
Snippets Groups Projects
Commit 6d188dd5 authored by Simon Jakobi's avatar Simon Jakobi Committed by Marge Bot
Browse files

base: Include (<$) in all exports of Functor

Previously the haddocks for Control.Monad and Data.Functor gave
the impression that `fmap` was the only Functor method.

Fixes #16681.
parent 723216e3
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,7 @@ module Control.Monad
(
-- * Functor and monad classes
Functor(fmap)
Functor(..)
, Monad((>>=), (>>), return)
, MonadFail(fail)
, MonadPlus(mzero, mplus)
......
......@@ -39,8 +39,7 @@
module Data.Functor
(
Functor(fmap),
(<$),
Functor(..),
($>),
(<$>),
(<&>),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment