Handbook
Glossary
Generalized sequence words
The
sequences
.
generalizations
vocabulary defines generalized versions of various sequence operations.
narray
( n -- quot )
nsequence
( n exemplar -- quot )
firstn
( n -- quot )
set-firstn
( n -- quot )
nappend
( n -- seq )
nappend-as
( n exemplar -- seq )
Generalized
Sequence combinators
:
neach
( seq... quot n -- )
nmap
( seq... quot n -- result )
nmap-as
( seq... quot exemplar n -- result )
mnmap
( m*seq quot m n -- result*n )
mnmap-as
( m*seq quot n*exemplar m n -- result*n )
nproduce
( pred quot n -- seq... )
nproduce-as
( pred quot exemplar... n -- seq... )