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

From: Li-Ta Lo (lita.ollie at gmail.com)
Date: Sat Feb 26 11:40:35 EST 2011


I am using R5RS mode in Racket 5.1. I was trying to use
the fold function form srfi/1. I got the error message that
the argument to null-list? is out of domain. What's wrong?

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

null-list?: argument out of domain (1 2 3)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110226/69706f29/attachment.html>

Posted on the users mailing list.