[<<][staapl][>>][..]
Fri May 29 12:58:19 CEST 2009

list split

There is one simple parsing step that keeps occuring over and over in
dealing with flat things: introduce structure by grouping based on a
predicate of one of the lists.

i.e.   (x x x x x x  x x x)
       (1 0 0 0 0 0  1 0 0)
->    ((x x x x x x)(x x x))

This has to have some kind of name..  This is basicly "regexp split"
but then done on multiple sequences.

What this needs is two functions:
   - match
   - combine




[Reply][About]
[<<][staapl][>>][..]