summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Grenrus <oleg.grenrus@iki.fi>2017-01-05 16:25:29 -0500
committerBen Gamari <ben@smart-cactus.org>2017-01-05 17:01:27 -0500
commit5ef956e137b35cd53dba3db2f475e97d442b1ba9 (patch)
tree3b85f18a6a16fb792ad1b6c54ae36cdfbe8ab4e3
parent5797784c78397b9bf407b0d4c0757791f0b552ce (diff)
downloadhaskell-5ef956e137b35cd53dba3db2f475e97d442b1ba9.tar.gz
Fix doctests in Data.Functor
Reviewers: austin, hvr, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2920 GHC Trac Issues: #11551
-rw-r--r--libraries/base/Data/Functor.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/Data/Functor.hs b/libraries/base/Data/Functor.hs
index 8eba29e0c7..62bb70927e 100644
--- a/libraries/base/Data/Functor.hs
+++ b/libraries/base/Data/Functor.hs
@@ -27,7 +27,7 @@ import GHC.Base ( Functor(..), flip )
-- $setup
-- Allow the use of Prelude in doctests.
--- >>> import Prelude
+-- >>> import Prelude hiding ((<$>))
infixl 4 <$>