Hi
I'm not entirely clear how Integer can be an Enum
instance. I thought Integer was arbitrary size, while for the Enum class you
need to define a mapping from and to Int, which is bounded (in a machine
dependent way, even ?). I'm probably missing something obvious...
CheersFrank Dellaert
I'm not a compiler/interpreter implementer, just a
Haskell user :-)
My question is: if I have two datatypes,
say
newtype Attributes = Att [String]
data Instance = Instance Attributes
[Int]
where an Attributes value describes the discrete
attributes that are stored (as Int) in an Instance
pointers happen to be the same, and only then do a full
Eq comparison ?
Cheers
Frank
- Original Message -
From:
Simon
Peyton-Jones
To: Frank Dellaert ; [EMAIL PROTECTED]
Sent: Monday, December 17, 2001 10:24
AM
Subject: RE: space efficiency
question
Now: if