|
Re: bug with (##) operator and -fglasgow-exts, GHC 5.04, 6.0: msg#00034lang.haskell.glasgow.bugs
On Fri, Jun 06, 2003 at 08:00:00PM +1000, Bernard James POPE wrote: > Hi all, > > I seem to remember reading about this before, but I can't > find it, so I'm sorry if I'm repeating a known bug report. > > It seems that -fglasgow-exts has trouble with (##) as an > operator: > > module Main where > f ## x = f x > main = print $ (##) id True > > It doesn't like the prefix use of (##). Infix use is fine. > The problem goes away without -fglasgow-exts You can write ( ## ) It reminds me of OCaml and its problem with prefix use of * operator. (* is a begining of a comment on OCaml *). Best regards, Tom -- .signature: Too many levels of symbolic links
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: bug with (##) operator and -fglasgow-exts, GHC 5.04, 6.0, Simon Peyton-Jones |
|---|---|
| Next by Date: | RE: ghc-6.0 compiler bug, Simon Peyton-Jones |
| Previous by Thread: | bug with (##) operator and -fglasgow-exts, GHC 5.04, 6.0, Bernard James POPE |
| Next by Thread: | RE: bug with (##) operator and -fglasgow-exts, GHC 5.04, 6.0, Simon Peyton-Jones |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |