Handbook
Glossary
0accumulate ( ... seq quot: ( ... prev elt -- ... next ) -- ... final newseq )
Vocabulary
sequences
.
extras
Inputs
seq
an
object
quot
a
quotation
with stack effect
( ... prev elt -- ... next )
Outputs
final
an
object
newseq
an
object
Definition
USING:
kernel
;
IN:
sequences.extras
:
0accumulate
( ... seq quot: ( ... prev elt -- ... next ) -- ... final newseq )
over
0accumulate-as
;
inline