Code Review
Compare your solutions
#| This exercise has no tests.
Any solution is a right answer. |#
(define (a-plus-abs-b a b) (if (> b 0) (+ a b) (- a b)))
#| This exercise has no tests.
Any solution is a right answer. |#
(define (a-plus-abs-b a b)
((if (> b 0) + -) a b))
#| This exercise has no tests.
Any solution is a right answer. |#
(define (a-plus-abs-b a b) (if (> b 0) (+ a b) (- a b)))
#| This exercise has no tests.
Any solution is a right answer. |#
(define (a-plus-abs-b a b)
((if (> b 0) + -) a b))