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
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to