Skip to content

Instantly share code, notes, and snippets.

@ngn999
Created July 5, 2012 14:19
Show Gist options
  • Save ngn999/3053949 to your computer and use it in GitHub Desktop.
Save ngn999/3053949 to your computer and use it in GitHub Desktop.
my range
(fn range2 [ss ee]
((fn iter [s e res]
(if (>= s e)
res
(do
(iter (inc s) e (concat res (list s))))))
ss ee '()))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment