X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=GHC%2FBase.lhs;h=5ab0b2627700ec4a77537142f107d7f1f4d1fcc9;hb=9a8f1fdce99283c725112fb1f5fba3632c7836dd;hp=f616b0e150bc060c01804433c43bf789297ab3a4;hpb=3a8b769484788cb3874e9c695543712eb3330b7f;p=ghc-base.git diff --git a/GHC/Base.lhs b/GHC/Base.lhs index f616b0e..5ab0b26 100644 --- a/GHC/Base.lhs +++ b/GHC/Base.lhs @@ -62,6 +62,7 @@ GHC.Float Classes: Floating, RealFloat Other Prelude modules are much easier with fewer complex dependencies. \begin{code} +{-# LANGUAGE BangPatterns #-} {-# OPTIONS_GHC -XNoImplicitPrelude #-} -- -fno-warn-orphans is needed for things like: -- Orphan rule: "x# -# x#" ALWAYS forall x# :: Int# -# x# x# = 0 @@ -87,7 +88,6 @@ Other Prelude modules are much easier with fewer complex dependencies. module GHC.Base ( module GHC.Base, - module GHC.Bool, module GHC.Classes, module GHC.Generics, module GHC.Ordering, @@ -98,7 +98,6 @@ module GHC.Base where import GHC.Types -import GHC.Bool import GHC.Classes import GHC.Generics import GHC.Ordering @@ -173,7 +172,7 @@ Instances of 'Functor' should satisfy the following laws: > fmap (f . g) == fmap f . fmap g The instances of 'Functor' for lists, 'Data.Maybe.Maybe' and 'System.IO.IO' -defined in the "Prelude" satisfy these laws. +satisfy these laws. -} class Functor f where