[racket] Printing multiple stmts in cond
Hi,
I am new to Racket so please bear with me. I am trying to print multiple
expressions in "cond" statement as below.
(let ((var `(make))
(exp '(1 2)))
(cond
[(number? 2) `(hi ,var)
`(bye ,exp)]))
But only the "bye" statement is returned/printed on the screen. The first
"hi" is not evaluated at all. How do I return/print both ?
Thanks
Nik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110430/e0c38d32/attachment.html>