- [Macro]
- (
doeach
(var data) {forms}*)
If data is a list doeach iterates over the list and evaluates forms with var to successive elements from the list. If data is not a list then forms are evaluated with var bound to the data itself. doeach is useful for processing both lists and non-lists alike, for example, to output pattern data that contains both chords and single notes.