H{
Factor handbook > The language > Syntax > Literals > Hashtable syntax


Vocabulary
syntax

Syntax
H{ { key value }... }


Inputs and outputs
keyan object
valuean object


Word description
Marks the beginning of a literal hashtable, given as a list of two-element arrays holding key/value pairs. Literal hashtables are terminated by }.

Examples
H{ { "tuna" "fish" } { "jalapeno" "vegetable" } }


See also
{, V{, HS{, C{, T{, }

Definition