Handbook
Glossary
lmap>array ( ... list quot: ( ... elt -- ... newelt ) -- ... array )
Factor handbook
»
The language
»
Collections
»
Lists
»
Combinators for lists
Prev:
foldr ( ... list identity quot: ( ... prev elt -- ... next ) -- ... result )
Vocabulary
lists
Inputs
list
a
list
quot
a
quotation
Outputs
array
an
array
Word description
Executes the quotation on each element of the list, collecting the results in an array.
Definition
USING:
kernel
sequences
;
IN:
lists
:
lmap>array
( ... list quot: ( ... elt -- ... newelt ) -- ... array )
collector
[
leach
]
dip
{
}
like
;
inline