[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Move some low-hanging fruit from posix.scm to
From: |
Peter Bex |
Subject: |
[Chicken-hackers] [PATCH] Move some low-hanging fruit from posix.scm to file.scm |
Date: |
Wed, 14 Jun 2017 22:14:25 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hi all,
The attached patch moves glob, find-files and delete-directory
from posix.scm to file.scm. I also tried to move "directory",
and some of the "stat"-based file type predicates but that's
just too hairy to move, at least for now.
What should we do with ##sys#glob->regex? I think it's useful
enough to expose to the user, which conveniently allows us to get
rid of the ##sys# prefix too. But in which unit does it belong
the most? Personally, I think file might make more sense, as
it's strictly not an irregex procedure, and it belongs with "glob".
On the other hand, it doesn't actually hit the file system; it's an
abstract operation over data-structures only, without any side effects.
Cheers,
Peter
0001-Move-several-procedures-from-posix-to-file.patch
Description: Text Data
signature.asc
Description: Digital signature
- [Chicken-hackers] [PATCH] Move some low-hanging fruit from posix.scm to file.scm,
Peter Bex <=