UNPKG

154 Btext/coffeescriptView Raw
1# Create a list from n things on the stack.
2
3
4
5# n is an integer
6list = (n) ->
7 listIterator = 0
8 push(symbol(NIL))
9 for listIterator in [0...n]
10 cons()