From http://www.erlang.org/doc/man/lists.html it looks like lists:seq(1, 100)
does what you want. You can also do things like lists:seq(1, 100, 2)
to get all of the odd numbers in that range instead.
From http://www.erlang.org/doc/man/lists.html it looks like lists:seq(1, 100)
does what you want. You can also do things like lists:seq(1, 100, 2)
to get all of the odd numbers in that range instead.