diff options
author | Leah Neukirchen <leah@vuxu.org> | 2022-12-12 23:02:11 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2022-12-16 00:12:57 +0100 |
commit | 8be1e42cfbf9e3bc9d64dc839969d4b4293afb53 (patch) | |
tree | 9c4d49279f83565999a712582514a9d3489932e7 /mew.svnwiki | |
parent | 0c5dec75a7c68ca69384bbc27f8a273976de92d1 (diff) | |
download | mew-8be1e42cfbf9e3bc9d64dc839969d4b4293afb53.tar.gz mew-8be1e42cfbf9e3bc9d64dc839969d4b4293afb53.tar.xz mew-8be1e42cfbf9e3bc9d64dc839969d4b4293afb53.zip |
add nth-accumulator
Diffstat (limited to 'mew.svnwiki')
-rw-r--r-- | mew.svnwiki | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mew.svnwiki b/mew.svnwiki index 11a2669..db141f4 100644 --- a/mew.svnwiki +++ b/mew.svnwiki @@ -492,6 +492,11 @@ Returns an accumulator that returns a list of unique elements. Two elements are considered equal if their image under {{<f>}} is {{equal?}}. {{<f>}} defaults to the identity function. +<procedure>(nth-accumulator <n>)</procedure> + +Returns an accumulator that saves the {{<n>}}-th element, or +an void value else. + <procedure>(generator-xfold <f> <seed> <generators>...)</procedure> Like {{generator-fold}}, but {{<f>}} always takes the accumulator as |