[plt-scheme] read-delimited-list

From: Anton van Straaten (anton at appsolutions.com)
Date: Fri Aug 18 21:31:21 EDT 2006

Paul Graham wrote:
> Is there some equivalent of cl read-delimited-list in mzscheme?
> 
> I'm trying to make [foo _ bar] read as (lambda (_) (foo _ bar)).

You might be interested in SRFI 26:
http://srfi.schemers.org/srfi-26/srfi-26.html

...which lets you write the above as (cut foo <> bar).

Anton


Posted on the users mailing list.