From 28ad4b62515325463656627fa3d80a984f8c0fdb Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 16 Dec 2022 00:18:05 +0100 Subject: add parallel for --- mew.svnwiki | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mew.svnwiki') 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 {{}}, consisting of lists, vectors, hash-tables and strings. Create copies of values up to a level of {{}}, or infinitely by default. -(for ( ) ...) -(for (( . ) ) ...) +(for ( ...) ...) +(for (( . ) ...) ...) If {{}} is a list or a vector, iterate over its elements. If {{}} is a procedure, consider it a SRFI-158 generator and iterate over its values. If {{}} is a hash-table, iterate over its keys and values. +Multiple {{ }}-pairs may be specified, then {{for}} +iterates over these in *parallel*, stopping after the shortest ends. + (search ?) Returns the offset of the sequence (string/list/vector) {{}} -- cgit 1.4.1