

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


and returning false.the last argument. Should all the arguments evaluate trueishly, returns the value of
Evaluates arguments from left to right, stopping at the first one that evaluates to trueishand returns that value. Should all the arguments evaluate to false, returns false.
(define sum(lambda (f x y dx)
For each expression, write the type of the value that results from evaluating the expression. Ignore define expressions. 4 (+ 1 1) (lambda (x) (+ x 1)) (lambda (x) (= x 1)) (define square (lambda (x) (* x x))) square (square 5) (define a (lambda (f) (+ (f 5) 1))) a (a square) (define b (lambda (x y)(+ (a x) y)))
b (b square 4) (define c(lambda (x) (lambda (y)(+ x y))))
c (c 5)