[commit: ghc] master: Fix doctests in Data.Functor (5ef956e)
git at git.haskell.org
git at git.haskell.org
Thu Jan 5 22:01:44 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/5ef956e137b35cd53dba3db2f475e97d442b1ba9/ghc
>---------------------------------------------------------------
commit 5ef956e137b35cd53dba3db2f475e97d442b1ba9
Author: Oleg Grenrus <oleg.grenrus at iki.fi>
Date: Thu Jan 5 16:25:29 2017 -0500
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
>---------------------------------------------------------------
5ef956e137b35cd53dba3db2f475e97d442b1ba9
libraries/base/Data/Functor.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libraries/base/Data/Functor.hs b/libraries/base/Data/Functor.hs
index 8eba29e..62bb709 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 <$>
More information about the ghc-commits
mailing list