diff options
Diffstat (limited to 'mew.svnwiki')
-rw-r--r-- | mew.svnwiki | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mew.svnwiki b/mew.svnwiki index e6b437c..c204dbb 100644 --- a/mew.svnwiki +++ b/mew.svnwiki @@ -428,6 +428,13 @@ Generator yielding a sliding window of length {{<len>}} (as a list) over the values yielded by the generator {{<gen>}}. Yields never if the generator yielded fewer than {{<len>}} elements. +<procedure>(gsplit-on <pred> <gen>)</procedure> + +Partition the elements yielded by the generator {{<gen>}} into lists: +starts a new empty list when the predicate {{<pred>}} called with the +current element of the generator returns true. +In this case, the element is discarded. + <procedure>(gslice-when <pred> <gen>)</procedure> Partition the elements yielded by the generator {{<gen>}} into lists: |