set-slots[
Slots syntax sugar

Prev:get{
Next:set[


Vocabulary
slots.syntax

Word description
Sets slot values in a tuple from the stack.
USING: prettyprint slots.syntax kernel ; IN: slots.syntax.example TUPLE: rectangle width height ; rectangle new 3 5 set-slots[ width height ] .
T{ rectangle { width 3 } { height 5 } }


Definition