On Sat, Dec 31, 2011 at 12:26 AM, Neil Jerram
<address@hidden> wrote:
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