Fix doctests in Data.Functor
authorOleg Grenrus <oleg.grenrus@iki.fi>
Thu, 5 Jan 2017 21:25:29 +0000 (16:25 -0500)
committerBen Gamari <ben@smart-cactus.org>
Thu, 5 Jan 2017 22:01:27 +0000 (17:01 -0500)
Reviewers: austin, hvr, bgamari

Reviewed By: bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2920

GHC Trac Issues: #11551

libraries/base/Data/Functor.hs

index 8eba29e..62bb709 100644 (file)
@@ -27,7 +27,7 @@ import GHC.Base ( Functor(..), flip )
 
 -- $setup
 -- Allow the use of Prelude in doctests.
--- >>> import Prelude
+-- >>> import Prelude hiding ((<$>))
 
 infixl 4 <$>