on master help sign in
fixes '`' formatting and adds irregular-form examples for :cons
2cd3717Joseph Bryan
docs/hoon/twig/col-cell/hep-cons.md+7−1
@@ -23,7 +23,7 @@ Irregular: `a^b^c` is `[a b c]`.
23
23
24Irregular: `a+b` is `[%a b]`.
24Irregular: `a+b` is `[%a b]`.
25
25
26−Irregular: `\`a` is `[~ a]`.
26+Irregular: `` `a`` is `[~ a]`.
27
27
28Irregular: `~[a b]` is `[a b ~]`.
28Irregular: `~[a b]` is `[a b ~]`.
29
29
@@ -40,4 +40,10 @@ compiler does), `[a b]` is the same as `[%cons a b]`.
40```
40```
41~zod:dojo> :-(1 2)
41~zod:dojo> :-(1 2)
42[1 2]
42[1 2]
43+~zod:dojo> 1^2
44+[1 2]
45+~zod:dojo> 1+2
46+[%1 2]
47+~zod:dojo> `1
48+[~ 1]
43```
49```
docs/hoon/twig/ket-cast/lus-like.md−2
@@ -21,8 +21,6 @@ Regular: *2-fixed*.
21```
21```
22~zod:dojo> :like('text' %a)
22~zod:dojo> :like('text' %a)
23'a'
23'a'
24−~zod:dojo> :like('text' 97)
25−nest-fail
26```
24```
27
25
28
26