Re: add regexp-split: a summary and new proposal

2012-01-07 Thread Andy Wingo
On Sat 31 Dec 2011 06:54, Daniel Hartwig writes: > An attempt to summarize the pertinent points of the thread [1]. > > [1] > http://lists.gnu.org/archive/html/guile-devel/2011-12/msg00241.html Thanks for doing this! I replied earlier without having read this thread. Sorry for being a serial pr

Re: add regexp-split: a summary and new proposal

2011-12-31 Thread Eli Barzilay
11 hours ago, Daniel Hartwig wrote: > On 31 December 2011 15:30, Eli Barzilay wrote: > > But there's one more point that bugs me about the python thing: the > > resulting list has both the matches and the non-matching gaps, and > > knowing which is which is tricky.  For example, if you do this (I'

Re: add regexp-split: a summary and new proposal

2011-12-31 Thread Daniel Hartwig
On 31 December 2011 15:30, Eli Barzilay wrote: > But there's one more point that bugs me about the python thing: the > resulting list has both the matches and the non-matching gaps, and > knowing which is which is tricky.  For example, if you do this (I'll > use our syntax here, so note the minor

Re: add regexp-split: a summary and new proposal

2011-12-30 Thread Eli Barzilay
An hour ago, Daniel Hartwig wrote: > > Anyway, what do people think of this proposal which tries to address > that whole discussion: > > * [Vanilla `string-split' expanded to support the CHAR_PRED > semantics of `string-index' et al.] > > * New function `string-explode' similar to `string-spli