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

Bengt Kleberg <>
Mon Sep 2 10:22:54 CEST 2013


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




More information about the erlang-questions mailing list