[erlang-questions] clarify: lists:seq/3 Failure: If To<From-Incr and Incr is positive

Anthony Ramine n.oxyde@REDACTED
Mon Sep 2 10:26:15 CEST 2013


Why would it fail? 6 is not strictly less than 10-4.

-- 
Anthony Ramine

Le 2 sept. 2013 à 10:22, Bengt Kleberg a écrit :

> Greetings,
> 
> The documentation (http://www.erlang.org/doc/man/lists.html#seq-3) says
> "Failure: If To<From-Incr and Incr is positive". Among the examples:
>> lists:seq(10, 6, 4).
> []
> 
> Should that not fail?
> 
> 
> bengt
> 
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list