Composite expressions

Observe that our model of evaluation allows for combinations whose operators are compound expressions. Use this observation to describe the behavior of the following procedure:

(define (a-plus-abs-b a b)
  ((if (> b 0) + -) a b))

    # Uchi Tsa
    2 months ago

    ++

Authentication required

You must log in to post a comment.

Login