diff options
Diffstat (limited to 'mew.svnwiki')
-rw-r--r-- | mew.svnwiki | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mew.svnwiki b/mew.svnwiki index 3d30816..958da33 100644 --- a/mew.svnwiki +++ b/mew.svnwiki @@ -386,14 +386,17 @@ Return a duplicate of the nested datastructure {{<obj>}}, consisting of lists, vectors, hash-tables and strings. Create copies of values up to a level of {{<depth>}}, or infinitely by default. -<syntax>(for (<var> <obj>) <body>...)</syntax> -<syntax>(for ((<key> . <val>) <tbl>) <body>...)</syntax> +<syntax>(for (<var> <obj> ...) <body>...)</syntax> +<syntax>(for ((<key> . <val>) <tbl> ...) <body>...)</syntax> If {{<obj>}} is a list or a vector, iterate over its elements. If {{<obj>}} is a procedure, consider it a SRFI-158 generator and iterate over its values. If {{<obj>}} is a hash-table, iterate over its keys and values. +Multiple {{<var> <obj>}}-pairs may be specified, then {{for}} +iterates over these in *parallel*, stopping after the shortest ends. + <procedure>(search <needle> <haystack> <offset>?)</procedure> Returns the offset of the sequence (string/list/vector) {{<needle>}} |