on 5e6a67f help sign in
28 lines 542 B history raw
1### `++kel`
3Parse left curley bracket
5Parses ASCII character 123, the left 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 ++ kel (just '{')
14Examples
15--------
17 ~zod/try=> (scan "\{" kel)
18 ~~~7b.
19 ~zod/try=> `cord`(scan "\{" kel)
20 '{'
21 ~zod/try=> (kel [[1 1] "\{"])
22 [p=[p=1 q=2] q=[~ [p=~~~7b. q=[p=[p=1 q=2] q=""]]]]
23 ~zod/try=> (kel [[1 1] " \{"])
24 [p=[p=1 q=1] q=~]
28***