rolling-map ( ... seq n quot: ( ... slice -- ... elt ) -- ... newseq )


Vocabulary
sequences.windowed

Inputs
seqan object
nan object
quota quotation with stack effect ( ... slice -- ... elt )


Outputs
newseqan object


Definition


:: rolling-map
( ... seq n quot: ( ... slice -- ... elt ) -- ... newseq )
seq length
[ 1 + [ n [-] ] [ seq <slice-unsafe> ] bi quot call ]
map-integers ; inline