7.7
my-cond/iffy with sweet-exp
(require my-cond/iffy) | package: my-cond |
#lang sweet-exp racket require my-cond/iffy my-cond if condition-expr body-expr ... else-if condition-expr body-expr ... ... else body-expr ...
The my-cond/iffy module provides my-cond, if, else-if, and else, which work together to allow if expressions like the above.
syntax
Defined as a cond-expander to work with my-cond (see above).
When not used within a my-cond expression, acts like normal rkt:if.
syntax
Defined as a cond-expander to work with my-cond (see above).