![]() | ![]() | ![]() | dosublists | ![]() |
| nil | [Macro] |
Purpose
A dolist
-style iterator for successive sublists of a list.
Package :gbbopen-tools
Module :gbbopen-tools
Arguments and values
var | A variable symbol | |
list-form | A form that evaluates to a proper list | |
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
dosequence
Examples
> (dosublists (sublist '(1 2 3)) (print sublist)) (1 2 3) (2 3) (3) nil > (dosublists (sublist '(1 2 3) (print "Done")) (print sublist)) (1 2 3) (2 3) (3) "Done" >
The GBBopen Project
![]() | ![]() | ![]() | dosublists | ![]() |