nl_tokens: Replaces the value of an item at the specified index returning the new iterable set
pl_tokens: function updateAt ( index , value ) { return function * ( source ) { let i = 0 ; for ( const item of source ) { if ( i === index ) { yield value ; } else { yield <mask> ; } i = i + 1 ; } } ; }