[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] add regexp-split
From: |
Neil Jerram |
Subject: |
Re: [PATCH] add regexp-split |
Date: |
Fri, 30 Dec 2011 16:26:34 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Nala Ginrut <address@hidden> writes:
> Well, I see.
> So the previous discussion didn't make this proc put into Guile?
> Now that so many people interested in this topic.
I'm afraid I can't recall what happened following that thread.
What feels important to me, though, is the elegance of the overall API.
There are already _some_ regex-related APIs in the core Guile library
(ice-9 regex) and I would guess that there are many many possible
variations of these and other string + regex processing APIs that one
might propose. Also we've now demonstrated that regex-split can be
implemented, on top of the existing library, with only a few lines of
code. Therefore I'd say (speaking only as an observer) that you need to
make a case for how your regex-split beautifully complements what's
already there in (ice-9 regex), or alternatively for replacing (ice-9
regex) with a more beautiful set of operations including regex-split.
Alternatively^2, you could package regex-split outside the core library,
as a test case for the guild hall. Then it doesn't need to be justified
in relation to (ice-9 regex), it can just be a convenient module that
provides a more Python-like API.
Regards,
Neil
- Re: [PATCH] add regexp-split, (continued)
Re: [PATCH] add regexp-split, Marijn, 2011/12/30
Re: [PATCH] add regexp-split, Neil Jerram, 2011/12/30
Re: [PATCH] add regexp-split, Daniel Hartwig, 2011/12/30