problem with parsing (##)
I'm using the following setup:
> ghci-5.00.2 -fglasgow-exts
> :l Test.hs
where Test.hs contains just one line
===============================
(#) = flip ($)
===============================
This yields the following error
===============================
Test.hs:1: parse error on input `)'
===============================
From my understanding, -fglasgow-exts turns on an
extension
called 'unboxed tuples' and (# starts an unboxed tuple.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 5.0 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | ResolvedNoReason |
| Component | Compiler (Parser) |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |