arithmetic sequences and the prelude: minor problems?
Simon Marlow
simonmarhaskell at gmail.com
Fri Jun 30 08:47:28 EDT 2006
Laszlo Nemeth wrote:
> Incidentally, [1..5] is accepted (no space between 1 and the dots),
> while [False..True] is not (no spaces after False), which appears to be
> a parsing inconsistency.
It's a bug, but a known one (we have a test in the test suite for it).
Hugs has the same bug, so at least there's some consistency across
implementations.
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list