summary refs log tree commit diff
path: root/mew.svnwiki
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2022-10-30 17:57:25 +0100
committerLeah Neukirchen <leah@vuxu.org>2022-10-30 17:57:25 +0100
commitc703c1170def0cf0a41282a713665ac91847f7da (patch)
treedc2f198d1f5c16f985443c4c7254d43b032b309f /mew.svnwiki
parentfec64041bc4dde07cf3c8fb87c3cf0a1a1dac28f (diff)
downloadmew-c703c1170def0cf0a41282a713665ac91847f7da.tar.gz
mew-c703c1170def0cf0a41282a713665ac91847f7da.tar.xz
mew-c703c1170def0cf0a41282a713665ac91847f7da.zip
add gslice-when
Diffstat (limited to 'mew.svnwiki')
-rw-r--r--mew.svnwiki6
1 files changed, 6 insertions, 0 deletions
diff --git a/mew.svnwiki b/mew.svnwiki
index 511ee54..2339394 100644
--- a/mew.svnwiki
+++ b/mew.svnwiki
@@ -218,6 +218,12 @@ 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>(gslice-when <pred> <gen>)<procedure>
+
+Partition the elements yielded by the generator {{<gen>}} into lists:
+starts a new list when the predicate {{<pred>}} called with the
+previous and the current element of the generator returns true.
+
 <procedure>(genumerate <gen>)<procedure>
 
 Takes the values yielded by the generator {{<gen>}} and yields them as