small problem with ghc(i) on Windows

2002-12-16 Thread Jerzy Karczmarczuk
I might have done something wrong, but... -- I defined infix 5 # the sharp character is accepted, the definition of the associated procedure as well, the usage a # b works. Apparently the form (#) is considered illegal. It works on my Linux. On Win2000: parse error on input ')' Have you ever

Re: -no-hs-main behaviour

2002-12-16 Thread Andre Pang
On Wed, Dec 11, 2002 at 12:05:29PM -, Simon Marlow wrote: Is it possible to modify the behaviour so that if --make -no-hs-main is specified, GHC won't perform the link if it finds a main function? I think we should probably just have a -no-link option rather than overload the

Re: Glasgow-haskell-users digest, Vol 1 #672 - 1 msg

2002-12-16 Thread George Russell
[EMAIL PROTECTED] wrote: [snip] I've been experimenting with making an asynchronous IO library. At the moment it uses Haskell threads but the idea is that it could be transparently extended to use system AIO. I think what you are really asking for is asynchronous events, a la Reppy. I don't

Re: small problem with ghc(i) on Windows

2002-12-16 Thread Peter Strand
On Mon, Dec 16, 2002 at 01:26:31PM +0100, Jerzy Karczmarczuk wrote: Apparently the form (#) is considered illegal. It works on my Linux. On Win2000: parse error on input ')' You don't happen to use -fglasgow-exts on windows? That gives parse error on the sequence (# I guess it's related to

Re: small problem with ghc(i) on Windows

2002-12-16 Thread Wolfgang Thaller
Jerzy Karczmarczuk wrote: Apparently the form (#) is considered illegal. It works on my Linux. On Win2000: parse error on input ')' (#) is legal Haskell 98, but it is illegal in GHC when -fglasgow-exts is on. It should have nothing to do with the platform. Thre reason is that GHC uses the