on master help sign in
fixes '`' formatting and adds irregular-form examples for :cons
commit2cd371797a3c59c12318b3145a05f0edb7974eb1 authorJoseph Bryan <joemfb@gmail.com> dateMon 6 Jun 2016, 16:04 (10 years ago) parent2db4ac5
2 files changed+7−3
docs/hoon/twig/col-cell/hep-cons.md+7−1 docs/hoon/twig/ket-cast/lus-like.md−2
docs/hoon/twig/col-cell/hep-cons.md+7−1
@@ -23,7 +23,7 @@ Irregular: `a^b^c` is `[a b c]`.
2323
2424Irregular: `a+b` is `[%a b]`.
2525
26−Irregular: `\`a` is `[~ a]`.
26+Irregular: `` `a`` is `[~ a]`.
2727
2828Irregular: `~[a b]` is `[a b ~]`.
2929
@@ -40,4 +40,10 @@ compiler does), `[a b]` is the same as `[%cons a b]`.
4040```
4141~zod:dojo> :-(1 2)
4242[1 2]
43+~zod:dojo> 1^2
44+[1 2]
45+~zod:dojo> 1+2
46+[%1 2]
47+~zod:dojo> `1
48+[~ 1]
4349```
docs/hoon/twig/ket-cast/lus-like.md−2
@@ -21,8 +21,6 @@ Regular: *2-fixed*.
2121```
2222~zod:dojo> :like('text' %a)
2323'a'
24−~zod:dojo> :like('text' 97)
25−nest-fail
2624```
2725
2826