on bfaa358 help sign in
28 lines 541 B history raw
1### `++ker`
3Parse right curley bracket
5Parses ASCII character 125, the right curly bracket. Note that `{`
6(`kel`) and `}` (`ker`) open and close a Hoon expression for Hoon string
7interpolation. To parse either of them, they must be escaped.
9Source
10------
12 ++ ker (just '}')
14Examples
15--------
17 ~zod/try=> (scan "}" ker)
18 ~~~7d.
19 ~zod/try=> `cord`(scan "}" ker)
20 '}'
21 ~zod/try=> (ker [[1 1] "}"])
22 [p=[p=1 q=2] q=[~ [p=~~~7d. q=[p=[p=1 q=2] q=""]]]]
23 ~zod/try=> (ker [[1 1] "\{}"])
24 [p=[p=1 q=1] q=~]
28***