Forty-Two <
sea...@gmail.com> wrote:
> (define (conv3 x y z) (
> (+ (+ (* x 1) (* y 10)) (* z 100))))
That's why proper indentation is so important:
(define (conv3 x y z)
((+ (+ (* x 1) (* y 10)) (* z 100))))
See what's wrong?
BTW, + is variadic, so you can just write
(define (conv3 x y z)
(+ (* x 1)
(* y 10)
(* z 100)))
--
Nils M Holm < n m h @ t 3 x . o r g >
www.t3x.org