On 2008 Sep 22, at 5:46, Jon Fairbairn wrote:
Richard A. O'Keefe [EMAIL PROTECTED] writes:
It is being claimed that the reason for this is that exceptions
are problematic in Hasell, so the Haskell designers went out of
their way to make this function total whether it made sense or not.
I'm
Richard A. O'Keefe [EMAIL PROTECTED] writes:
Erlang's equivalent of [m..n] is lists:seq(M, N),
which is currently defined to raise an exception when N M.
In particular, lists:seq(1, N) returns a list of length N
when N 0, but not when N = 0.
I'm currently arguing that lists:seq(1, 0)