slots.macros vocabulary
Factor handbook ยป Vocabulary index


Summary
Macro interface to accessors

Metadata
Parents:slots
Authors:Joe Groff


Words

Macro words
WordStack effect
array>set-slots( names -- quot: ( values tuple -- ) )
set-slot( name -- quot: ( value tuple -- ) )
set-slots( names -- quot: ( values... tuple -- ) )
slot( name -- quot: ( tuple -- value ) )
slots( names -- quot: ( tuple -- values... ) )
slots>array( names -- quot: ( tuple -- values ) )


Ordinary words
WordStack effect
change-slot( ..a tuple name quot: ( ..a old -- ..b new ) -- ..b )
change-slot*( tuple name quot: ( ..a old -- ..b new ) -- ..b tuple )
inc-slot( tuple name -- )
push-slot( value tuple name -- )
set-slot*( tuple value name -- tuple )
slot+( value tuple name -- )


Files


Metadata files