It is possible to create a cond test-expr that also serves as the
then-body, however, this means that the expression would be executed twice.

This seems to be ill advised in principle.

 Question: If it is ill-advised to create a cond test-expression that also
serves as the then body, then what function is recommend?


 I am aware of the (cdr (or ... form.

I am aware of the cond ... test-expr => proc-expr] form option.

Thanks

Don Green
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to