lips
lips copied to clipboard
Make range function like in Python and Clojure
range should work like in Python or Clojure, but don't allow to call without arguments.
it should have those signatures:
(range end)
(range start end)
(range start end step)
It should also work with those arguments:
(range 10 0 -1)
it should return:
(10 9 8 7 6 5 4 3 2 1)