new-nth ( val i seq -- seq' )
Persistent sequence protocol

Next:ppush ( val seq -- seq' )


Vocabulary
persistent.sequences

Inputs
valan object
ian integer
seqa sequence


Outputs
seq'a sequence


Generic word contract
Persistent analogue of set-nth. Outputs a new sequence with the ith element replaced by val.

Definition


Methods