ase check only
> compares an Integer value for the constructors.
> Ralf
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> [mailto:glasgow-haskell-
> > [EMAIL PROTECTED] On Behalf Of Frederik Eaton
> > Sent: Thursday, December 29, 2005 10:57 AM
TECTED]
> [mailto:glasgow-haskell- [EMAIL PROTECTED] On Behalf Of
> Frederik Eaton
> Sent: Thursday, December 29, 2005 10:57 AM
> To: glasgow-haskell-bugs@haskell.org
> Subject: Constr and Eq
>
> > toConstr True
> True
> > toConstr [()]
> (:)
> > toConstr
> toConstr True
True
> toConstr [()]
(:)
> toConstr True == toConstr [()]
True
> show (toConstr True) == show (toConstr [()])
False
I don't understand the utility of Constr's Eq definition. It isn't
really documented though. Why return True when the constructors being
compared are different? Am I