[racket] Delete Second

From: Kieron Hardy (kieron.hardy at gmail.com)
Date: Mon Sep 17 13:17:23 EDT 2012

The documentation for 'if' is here
http://docs.racket-lang.org/reference/if.html?q=if

Here's a slightly modified example from the doc using 'if':

(if (positive? -5)
  (error "shouldn't get here")
  (display "hi"))

You might want to consider the 'when', documented here
http://docs.racket-lang.org/reference/when_unless.html?q=when

And here's an example from the doc using 'when':

(when (positive? -5)
    (display "hi"))

Cheers,

Kieron.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120917/99f540d4/attachment-0001.html>

Posted on the users mailing list.