[commit: ghc] master: base: Add comment noting import loop (b0ab8db)

git at git.haskell.org git at git.haskell.org
Tue Mar 29 11:32:50 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/b0ab8db61568305f50947058fc5573e2382c84eb/ghc

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

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

    base: Add comment noting import loop


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

b0ab8db61568305f50947058fc5573e2382c84eb
 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