1 ! Copyright (C) 2009 Joe Groff.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: help.markup help.syntax ;
8 { $description "Constructs a two-element array from the objects immediately before and after the " { $snippet "=>" } ". This syntax can be used inside sequence and assoc literals." }
10 { $unchecked-example "USING: pair-rocket prettyprint ;
12 H{ \"foo\" => 1 \"bar\" => 2 } ."
13 "H{ { \"foo\" 1 } { \"bar\" 2 } }" }