[racket] cond and else together

From: Neil Van Dyke (neil at neilvandyke.org)
Date: Tue Oct 22 04:24:25 EDT 2013

You have an extra pair of parentheses around the "else" clause.

Bo Gus wrote at 10/22/2013 04:08 AM:
>
> (define (tax pay)
>   (cond
>     ((<= pay 240.0) 0)
>     ((<= pay 480.0) (* (/ 15 100) pay))
>     ((else ((+ (* (/ 15 100) 480) (* (/ 28 100) (- pay 480))))))))


Posted on the users mailing list.