From 1cb2cc8b09c049d4cea4692f37b58f172d2e81e2 Mon Sep 17 00:00:00 2001 From: "jpm@cs.uu.nl" Date: Wed, 24 Feb 2010 12:55:06 +0000 Subject: [PATCH] FIX #3866: improve documentation of Data.Data.Constr --- Data/Data.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Data/Data.hs b/Data/Data.hs index 646249e..78daea0 100644 --- a/Data/Data.hs +++ b/Data/Data.hs @@ -480,8 +480,9 @@ data DataType = DataType 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 -- 1.7.10.4