summary refs log tree commit diff
path: root/mew.svnwiki
diff options
context:
space:
mode:
Diffstat (limited to 'mew.svnwiki')
-rw-r--r--mew.svnwiki5
1 files changed, 3 insertions, 2 deletions
diff --git a/mew.svnwiki b/mew.svnwiki
index 3b4fb3f..629d11b 100644
--- a/mew.svnwiki
+++ b/mew.svnwiki
@@ -458,12 +458,13 @@ Like {{generator-fold}}, but {{<f>}} always takes the accumulator as
 first arguments, and the items after.  This is more practical when
 multiple {{<generators>}} are passed.
 
-<procedure>(inject <f> <init>?)</procedure>
+<procedure>(inject <f> <init>? <g>?)</procedure>
 
 Returns a procedure that takes an generator (or something convertible
-by {{gen}}) and folds the function {{<f>}} over its values.  If given,
+by {{gen}}) and xfolds the function {{<f>}} over its values.  If given,
 folding starts with {{<init>}}, else with the first element yielded by
 the generator.  If the generator is empty, return {{(<f>)}}.
+If {{<g>}} is passed, immediately fold over the generator {{<g>}}.
 
 <procedure>(odometer <wheels>...)</procedure>