[commit: ghc] ghc-8.0: base: Add comment noting import loop (802042e)

git at git.haskell.org git at git.haskell.org
Tue Mar 29 17:38:32 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/802042e0d94e47ce81f7b6f54b1a262ba75d7872/ghc

>---------------------------------------------------------------

commit 802042e0d94e47ce81f7b6f54b1a262ba75d7872
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Tue Mar 29 13:34:45 2016 +0200

    base: Add comment noting import loop
    
    (cherry picked from commit b0ab8db61568305f50947058fc5573e2382c84eb)


>---------------------------------------------------------------

802042e0d94e47ce81f7b6f54b1a262ba75d7872
 libraries/base/Data/Functor/Classes.hs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libraries/base/Data/Functor/Classes.hs b/libraries/base/Data/Functor/Classes.hs
index 5f1b12c..ce84af0 100644
--- a/libraries/base/Data/Functor/Classes.hs
+++ b/libraries/base/Data/Functor/Classes.hs
@@ -355,6 +355,8 @@ instance (Read a) => Read1 (Const a) where
 instance (Show a) => Show1 (Const a) where
     liftShowsPrec = liftShowsPrec2 showsPrec showList
 
+-- Proxy unfortunately imports this module, hence these instances are placed
+-- here,
 -- | @since 4.9.0.0
 instance Eq1 Proxy where
   liftEq _ _ _ = True



More information about the ghc-commits mailing list