[plt-scheme] Little toy syntax for replicating chained comparisons al-la Python

From: Noel Welsh (noelwelsh at yahoo.com)
Date: Thu Feb 2 07:26:32 EST 2006

--- Danny Yoo <dyoo at hkn.eecs.berkeley.edu> wrote:

> Anyway, this fluttered in my brain while I browsed
> through HtDP Section 4,
> and thought this might amuse others.  Would it be
> something that would be
> accepted by the Schematics Cookbook, or is it too simple?

Nothing is too simple for the Cookbook.  For example, I
regularly use (and contribute to) the Cookbook when writing
system admin type scripts in PLT Scheme.  The programs are
really simple but I just don't do this often enough to
store the library APIs in my head.  The Cookbook has been
really helpful to me.

The pattern for writing macros that parse infix syntax
would be a great contribution to the Cookbook.

Also please note that it is very helpful just to create
recipe stubs (that is, just a question without an answer)
as that signals to those who write recipes what those who
use recipes need.


Email: noelwelsh <at> yahoo <dot> com   noel <at> untyped <dot> com
AIM: noelhwelsh
Blogs: http://monospaced.blogspot.com/  http://www.untyped.com/untyping/

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

Posted on the users mailing list.