09. June 2022
Cond-expand and #ifdef
In the C programming language you can ask the macro preprocessor to
keep or remove part of a source file. This is done with #ifdef. The
equivalent in Scheme is called cond-expand. R7RS Scheme has two
different instances of cond-expand, while R6RS Scheme does not have
it all. What does R6RS do instead, and is cond-expand a bad idea?