=>


Vocabulary
pair-rocket

Syntax
a => b


Word description
Constructs a two-element array from the objects immediately before and after the =>. This syntax can be used inside sequence and assoc literals.

Examples
USING: pair-rocket prettyprint ; H{ "foo" => 1 "bar" => 2 } .
H{ { "foo" 1 } { "bar" 2 } }


Definition