[plt-scheme] critique of some code

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Sun Dec 6 22:49:01 EST 2009

On Dec 6, 2009, at 10:47 PM, Sam TH wrote:

> Also, it would be rather more Schemely in all of these to return #f in
> case of failure, instead of -1.  That way your function can be used as
> a predicate.

Thanks! I was so annoyed to see the -1, I nearly puked. Types at work. 

Posted on the users mailing list.