diff options
| -rw-r--r-- | libraries/base/Data/Functor.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/base/Data/Functor.hs b/libraries/base/Data/Functor.hs index 9db4c8fd5c..c12564f23c 100644 --- a/libraries/base/Data/Functor.hs +++ b/libraries/base/Data/Functor.hs @@ -23,7 +23,7 @@ module Data.Functor void, ) where -import GHC.Base ( Functor(..), const, flip ) +import GHC.Base ( Functor(..), flip ) -- $setup -- Allow the use of Prelude in doctests. @@ -140,4 +140,4 @@ infixl 4 $> -- 2 -- void :: Functor f => f a -> f () -void = fmap (const ()) +void x = () <$ x |
