[plt-dev] three more little `scheme' vs. `racket' differences

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sun May 2 18:24:32 EDT 2010

At Sun, 2 May 2010 18:17:05 -0400, Justin Zamora wrote:
> Matthew Flatt wrote:
> > Finally, `racket/base' (but not `scheme/base') now provides an
> > `in-directory' sequence constructor, which gives you all the files,
> > directories, and links within a given one, recursively traversing
> > sub-directories. For example,
> 
> Could you add an optional flag to in-directory that controls whether
> the directory is traversed recursively?  For some directories, I
> wouldn't want files in the current directory but not the entire
> directory tree.

You can already use `(in-list (directory-list))' for that case.




Posted on the dev mailing list.