deep-each ( ... obj quot: ( ... elt -- ... ) -- ... )
Factor handbook > The language > Collections > Sequence operations > Deep sequence combinators

Next:deep-map ( ... obj quot: ( ... elt -- ... elt' ) -- ... newobj )


Vocabulary
sequences.deep

Inputs and outputs
objan object
quota quotation with stack effect ( ... elt -- ... )


Word description
Execute a quotation on each nested element of an object and its children, in preorder.

See also
each

Definition