lWe can define
functions that dont have names, to reduce
cluttering of the global name space
l(map
(lambda (n) (* n n)) (3 4 5))
ฎ (9 16 25)
l(map2
(lambda (x y)
(if (=
y 0) 0 (/ x y)))
(3 4 5) (-1 0 2))
ฎ (9 16 25)
lDefine for functions
(and indeed cond, let, let*, and, and or) is just syntactic sugar
(define (square n) (* n n))
(define square (lambda (n) (* n n)))
l