[racket] fold/null-list? in srfi/1

From: Andreas Rottmann (a.rottmann at gmx.at)
Date: Sat Feb 26 15:19:19 EST 2011

Sam Tobin-Hochstadt <samth at ccs.neu.edu> writes:

> I recommend just using plain Racket, instead of the R5RS language.
> Choose "Use the language declared in the source" in the Language
> dialog.
If you want to stay in R5RS, you could use the R6RS version of SRFI 1,
which uses mutable lists:

(#%require (lib "srfi/%3a1"))
(null-list? '(1 2 3))

Regards, Rotty
Andreas Rottmann -- <http://rotty.yi.org/>

Posted on the users mailing list.