diff options
author | Leah Neukirchen <leah@vuxu.org> | 2022-12-16 00:18:05 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2022-12-16 00:18:05 +0100 |
commit | 28ad4b62515325463656627fa3d80a984f8c0fdb (patch) | |
tree | d74de06cc1f46c599387d247744779c4934c72d3 /mew.svnwiki | |
parent | 234dbc781c328db11c3cc17a74d2c9301e5d82bf (diff) | |
download | mew-28ad4b62515325463656627fa3d80a984f8c0fdb.tar.gz mew-28ad4b62515325463656627fa3d80a984f8c0fdb.tar.xz mew-28ad4b62515325463656627fa3d80a984f8c0fdb.zip |
add parallel for
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>}} |