projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add numSparks :: IO Int (#4167)
[ghc-base.git]
/
Data
/
Data.hs
diff --git
a/Data/Data.hs
b/Data/Data.hs
index
646249e
..
78daea0
100644
(file)
--- a/
Data/Data.hs
+++ b/
Data/Data.hs
@@
-480,8
+480,9
@@
data DataType = DataType
deriving Show
deriving Show
-
--- | Representation of constructors
+-- | Representation of constructors. Note that equality on constructors
+-- with different types may not work -- i.e. the constructors for 'False' and
+-- 'Nothing' may compare equal.
data Constr = Constr
{ conrep :: ConstrRep
, constring :: String
data Constr = Constr
{ conrep :: ConstrRep
, constring :: String