I'm trying to make the absolute value procedure and code got an error. I don't know why :/
(define (abs x)
(cond ((> x 0) x)
((= x 0) 0)
((< x 0) (- x))))
Error message:
define-values: assignment disallowed;
cannot change constant
constant: abs