The case for glob in SRFI 170 John Cowan (11 Dec 2019 15:54 UTC)
Re: The case for glob in SRFI 170 Lassi Kortela (11 Dec 2019 18:03 UTC)
Re: The case for glob in SRFI 170 John Cowan (11 Dec 2019 19:19 UTC)
Re: The case for glob in SRFI 170 Lassi Kortela (11 Dec 2019 19:36 UTC)
Re: The case for glob in SRFI 170 John Cowan (11 Dec 2019 20:26 UTC)
Re: The case for glob in SRFI 170 Lassi Kortela (11 Dec 2019 20:45 UTC)
Re: The case for glob in SRFI 170 Shiro Kawai (11 Dec 2019 20:43 UTC)
Re: The case for glob in SRFI 170 John Cowan (11 Dec 2019 20:58 UTC)
Re: The case for glob in SRFI 170 Lassi Kortela (11 Dec 2019 21:00 UTC)
Re: The case for glob in SRFI 170 Duy Nguyen (13 Dec 2019 10:33 UTC)

Re: The case for glob in SRFI 170 Duy Nguyen 13 Dec 2019 10:33 UTC

On Thu, Dec 12, 2019 at 4:01 AM Lassi Kortela <xxxxxx@lassi.io> wrote:
> > - Glob-like matcher is sometimes useful outside of traditional
> > filesystem.
>
> Good idea. This might fit a typeclass for tree traversal. We probably
> can't make zippers work?
> <https://en.wikipedia.org/wiki/Zipper_(data_structure)>

If there's interest, I probably could rip Gauche's glob implementation
out, make it translate glob patterns to srfi-115 sre and use some form
of readdir() from this srfi. Then we have a portable glob srfi.
Provided that Shiro gives permission of course, it's his code.

Not sure about zipper, but Gauche's glob is based on fold operation
and probably can work with something other than filesystems.
--
Duy