file: job.t package: muf status: alpha
Given key, val, and a block interpreted as keyval pairs,
|set sets the value corresponding to key
in the block, if present, otherwise pushes key and
val on the block as a new keyval pair.
[ :a 1 :b 2 :c 3 | Stack: [ :a 1 :b 2 :c 3 | :b 0 |set Stack: [ :a 1 :b 0 :c 3 | :d 4 |set Stack: [ :a 1 :b 0 :c 3 :d 4 |
Keywords are the recommended type of key, but any datatype may be used.
See section |ged. See section |get.
Given arg and a block, |dup pushes on the
stack a copy of the top (last) element of the block,
which is left unchanged.
Stack: [ 'a' 'b' 'c' | |dup Stack: [ 'a' 'b' 'c' | 'c'
Go to the first, previous, next, last section, table of contents.