Sha256: 3b74c1727ff071793e33ca86e17316727ea0d894828e3287e0ff0fca36059c5d
Contents?: true
Size: 305 Bytes
Versions: 3
Compression:
Stored size: 305 Bytes
Contents
(examples-for each ("iterates over each item in list" (let acc 0 (each x '(1 2 3 4) (assign acc (+ x acc))) acc) 10)) (examples-for each-with-index ("iterates over each item in list" (returnlet acc nil (each-with-index i x '(a b c d) (push (list i x) acc))) ( (3 d) (2 c) (1 b) (0 a) )))
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nydp-0.6.0 | lib/lisp/tests/each-tests.nydp |
nydp-0.5.1 | lib/lisp/tests/each-tests.nydp |
nydp-0.5.0 | lib/lisp/tests/each-tests.nydp |