| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
map, but Gauche guarantees
proc is always applied in order of the list(s).
Gauche's map also terminates as soon as one of
the list is exhausted.
(map car '((a b) (c d) (e f))) => (a c e) (map cons '(a b c) '(d e f)) => ((a . d) (b . e) (c . f)) |
Note that the gauche.collection module (See section 9.3 gauche.collection - Collection framework)
extends map to work on any type of collection.
for-each is undefined. When more than one list is given,
for-each terminates as soon as one of the list is exhausted.
Note that the gauche.collection module (See section 9.3 gauche.collection - Collection framework)
extends for-each to work on any type of collection.