[plt-scheme] request to add directory-list*
Why don't you put together a planet package with this functionality?
On May 6, 2007, at 3:13 PM, Eli Barzilay wrote:
> On May 6, Jon Rafkind wrote:
>> I think directory-list* should be a part of mzscheme as defined
>> basically by:
>> (define (directory-list* dir)
>> (map (lambda (x) (build-path dir x)) (directory-list dir)))
>
> Yes, this is a common operation, but so are these:
>
> * Sorting (often you want that even if you don't want that, since bugs
> that depend on the order of files are not the kind of bugs you want
> to be responsible for)
>
> * Removing dot-files (and hidden files on Windows).
>
> * Filtering the resulting list with some predicate.
>
> --
> ((lambda (x) (x x)) (lambda (x) (x x))) Eli
> Barzilay:
> http://www.barzilay.org/ Maze is
> Life!
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme