![]() | ![]() | ![]() | dosequence | ![]() |
| nil | [Macro] |
Purpose
A generalized dolist
-style iterator for any sequence.
Package :gbbopen-tools
Module :gbbopen-tools
Arguments and values
var | A variable symbol | |
sequence-form | A form that evaluates to a sequence | |
result-form | A form | |
declarations | A declare expression (not evaluated) | |
tag | A go tag (not evaluated)
| |
form | A form | |
results | The values returned by evaluating the last form |
Returns
If a return
or return-from
nil
if there is no
Description
The body of tagbody
The scope of the binding of var does not include the
See also
dosublists
Examples
> (dosequence (elt #(1 2 3)) (print elt)) 1 2 3 nil > (dosequence (char "abc") (print char)) #\a #\b #\c nil >
The GBBopen Project
![]() | ![]() | ![]() | dosequence | ![]() |