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

From: David Van Horn (dvanhorn at ccs.neu.edu)
Date: Sun Apr 5 11:44:28 EDT 2009

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.

David


Posted on the users mailing list.