It's a bug, which is fixed in 4.04 (a Win32 version of which is due out shortly.) --sigbjorn Alex Ferguson <[EMAIL PROTECTED]> writes: > > 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. >
RE: ghc-4.03 on cynwin deriving oddity.
Sigbjorn Finne (Intl Vendor) Wed, 13 Oct 1999 13:49:32 +0200 (MET DST)
- ghc-4.03 on cynwin deriving oddity. Alex Ferguson
- Re: ghc-4.03 on cynwin deriving oddity. Alex Ferguson
- RE: ghc-4.03 on cynwin deriving oddity. Sigbjorn Finne (Intl Vendor)
- RE: ghc-4.03 on cynwin deriving oddity. Alex Ferguson
