>From UNKNOWN
Received: from joyce.ucc.ie by vanuata with SMTP (MMTA) with ESMTP;
Tue, 12 Oct 1999 15:45:59 +0100
Received: (from abf@localhost) by joyce.ucc.ie (8.7.3/8.7.3)
id PAA11955 for [EMAIL PROTECTED];
Tue, 12 Oct 1999 15:45:02 +0100 (BST)
[This is a resend; forwarding from '[EMAIL PROTECTED]'
seems to be highly unwell.]
Observe:
BASH.EXE-2.02$ cat Enum.hs
enumerate :: (Enum a, Bounded a) => [a]
enumerate = [minBound .. maxBound]
data Test = Foo | Bar | Blah | Nonsense
deriving (Show, Enum, Bounded)
main = print (enumerate :: [Test])
BASH.EXE-2.02$ ghc-4.03 -static Enum.o
BASH.EXE-2.02$ ./a.exe
[Foo,Foo,Foo,Foo]
Whereas, with ghc-4.02, under Solaris 2.5:
yeats.ucc.ie:~/LVO: a.out
[Foo,Bar,Blah,Nonsense]
What, as they say, gives?
Cheers,
Alex.