[plt-scheme] question from a newbie regarding the import of a library

From: Jon Loldrup (loldrup at gmail.com)
Date: Sun Apr 5 12:34:48 EDT 2009

2009/4/5 David Van Horn <dvanhorn at ccs.neu.edu>

> Jon Loldrup wrote:
>> Well it sure does evaluate successfully now, and testing the first 4
>> expressions on page 4 in "The Reasoned Schemer" makes them all return the
>> same value as the ones in that book. Only thing is, the book doesn't mention
>> the definitions of fail and succeed (only that they are longs for #u and
>> #s), so I'm not sure whether this solution is some crude hack or the
>> official way to do it.
> The book gives definitions of #s and #u, both in English and Scheme. See
> the code at the end of the book.  The definitions you gave are equivalent,
> so this is no crude hack.

That doesn't make sense in my mind: If #u and #s are actually defined how
come I can't use them and have to use the longs "fail" and "succeed"?

the line
(run #f (q) #u (== #t q))
results in
Module Language: invalid module text
read: bad syntax `#u'

mvh Jon Loldrup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090405/81b15dac/attachment.html>

Posted on the users mailing list.