[plt-scheme] help writing idiomatic plt scheme

From: Martin DeMello (martindemello at gmail.com)
Date: Sun Jun 15 16:44:21 EDT 2008

On Sun, Jun 15, 2008 at 10:29 AM, Matthias Felleisen
<matthias at ccs.neu.edu> wrote:
> 3. Here is my take on 'idiomatic' coming from a design perspective.
> Everything is based on the data def file = eof | line * file

Thanks - took me a while to wrap my head around this, since I'm one of
those people who come from a loopy background :) I was trying to do
the whole thing in one pass, rather than run filter twice on the list
at the end, but I agree your version looks cleaner.


Posted on the users mailing list.