GHC-4.00 source build

1998-11-12 Thread Sven Panne
Some minor quirks with today's ghc-4.00: * fptools/ghc/rts/StgPrimFloat.c did not compile because of the redefiniton of union ieee754_double, which is already defined in /usr/include/ieee754.h on my Linux (libc5) box. Fix: rename ieee754_double to my_ieee754_double. This works,

Re: ghc-4.00 cvs source build question

1998-11-12 Thread Keith Wansbrough
This morning I got the cvs source tree from CVSROOT="[EMAIL PROTECTED]:/cvs" [..] Did you put Version 3.03 back in the repository? Or is it just the wrong name? [to the list because I had the same problem] The head of the tree is still 3.03; if you want 4 you have to do cvs co -r

ghc-4.00 cvs source build question

1998-11-12 Thread Jan Laitenberger
Hello, This morning I got the cvs source tree from CVSROOT="[EMAIL PROTECTED]:/cvs" The build created the files lrwxrwxrwx 1 laitenbe pardc 8 Nov 12 07:09 ghc - ghc-3.03* -rwxr-xr-x 1 laitenbe pardc 103189 Nov 12 07:09 ghc-3.03* -rwxr-xr-x 1 laitenbe pardc

Re: monomorphism etc.

1998-11-12 Thread Lennart Augustsson
I think it would be really nice if it were possible to create a container capable of containing any number of objects of any number of types It would That's not possible in Haskell. Since you want an any number of different types in this new type it would need to have a variable number

Re: monomorphism etc.

1998-11-12 Thread Lennart Augustsson
[...] if you dislike tuples you can use nested pairs At the cost of losing a little type-safety. That's really a very minimal loss. (And it's not really a loss of type safety, just the possibilty of confusing a part of a "tuple" with another "tuple"). I'd be more worried about the

nested pairs (was Re: monomorphism etc.)

1998-11-12 Thread Claus Reinke
But if you dislike tuples you can use nested pairs, like infixr 0 :. data T a b = a :. b Now you can write 'a' :. True :. "Hello" :. () which has type T Char (T Bool (T String ())) But I guess that's not what you were after? -- Lennart Fergus replied: [...] if you dislike

Re: nested pairs (was Re: monomorphism etc.)

1998-11-12 Thread Claus Reinke
PS. I've got a length function for ``heterogeneous lists'', as they appear in nested pairs, in Hugs. However, it uses the type system extensions available in 1.3c or in 1.4 [98 BETA]. How much can you do in plain Haskell??? in Cayenne?-) oops. On second thought, this length

message

1998-11-12 Thread www
[This message is sent through a WWW-Email gateway.] [The authenticity of the sender can not be validated.] [Message sent from the following machine sailor.lib.md.us - 198.76.201.196 ] [after accessing this URL ] -- You can use nested pairss? Of multiple types? I tried this and it failed. I don't