logo       

Re: arithmetic sequences and the prelude: minor problems?: msg#00137

lang.haskell.glasgow.bugs

Subject: Re: arithmetic sequences and the prelude: minor problems?

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise