ronin/examples/arrays.lisp
2019-07-13 18:18:35 +02:00

13 lines
202 B
Common Lisp

(print (map (lambda (a) (add a 1)) (1 2 3)))
(
(print (first (1 2 3)))
(print (rest (1 2 3)))
)
(
(clear)
(map (lambda (a)
(stroke (rect (mul a 30) 20 50 50) 1 "red"))
(5 10 15 20))
)