Magnus Carlsson <[EMAIL PROTECTED]> taps on the keyboard: > The program > > main = print (a#b) > where a = 1 > b = 2 > x#y = x+y > > makes ghc-2.01 say > > "bug.hs", line 1, column 15: Non-standard identifier (trailing `#'): a# > on input: "a#" > Hi Magnus, thanks for a fine report - this is a known lexer problem, fixed in the next release. For now, do the obvious and sprinkle the offending code with some whitespace, i.e., x # y = x + y (ditto for the usages of #) --sigbjorn
- 2.01: Problem with ASCsymbol `#' Magnus Carlsson
- Sigbjorn Finne
