[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] find-files
From: |
Zbigniew |
Subject: |
Re: [Chicken-users] find-files |
Date: |
Wed, 1 Feb 2006 12:30:47 -0600 |
You're right about limit, of course. I looked at using the
predicate---which isn't called for directories---and forgot limit,
which is.
On 2/1/06, felix winkelmann <address@hidden> wrote:
> On 2/1/06, Zbigniew <address@hidden> wrote:
> > Just noticed that find-files traverses symbolic links to directories
> > (since directory? returns true for a directory symlink). I'm not sure
> > this behaviour is desirable---at least there should be the option to
> > skip symlinks or treat them strictly as files.
>
> You can do that check in the predicate or in the limit procedure.
> Adding yet another optional argument makes `find-files' even clunkier
> than it already is... ;-)
>
>
> cheers,
> felix
>