on master help sign in
Merge pull request #25 from joemfb/twig-corrections

minor Hoon twig corrections

commit50f3713156cac16d94f6b471161a00f376f54315 authorGalen Wolfe-Pauly <galen@office-for.com> dateMon 6 Jun 2016, 19:14 (10 years ago) parent16b6b1ee817e08
5 files changed+16−8
docs/hoon/twig/cen-call/sig-open.md+1−1 docs/hoon/twig/col-cell/hep-cons.md+7−1 docs/hoon/twig/ket-cast/hep-cast.md+4−2 docs/hoon/twig/ket-cast/lus-like.md+3−3 docs/hoon/twig/ket-cast/sig-burn.md+1−1
docs/hoon/twig/cen-call/sig-open.md+1−1
@@ -31,5 +31,5 @@ learn to step outside your linear, Western way of thinking."
3131
3232## Examples
3333
34−See [`:door`](../bar-core/cab-door).
34+See [`:door`](../../bar-core/cab-door).
3535
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/hep-cast.md+4−2
@@ -15,7 +15,9 @@ sort: 2
1515
1616## Syntax
1717
18−Regular: *2-fixed*
18+Regular: *2-fixed*.
19+
20+Irregular: `` `foo`bar`` is `:cast(foo bar)`.
1921
2022## Discussion
2123
@@ -27,7 +29,7 @@ infinite loop in the compiler).
2729
2830## Examples
2931
30−``
32+```
3133~zod:dojo> (add 90 7)
323497
3335~zod:dojo> `@t`(add 90 7)
docs/hoon/twig/ket-cast/lus-like.md+3−3
@@ -16,11 +16,11 @@ within the span of `q`. Otherwise, `nest-fail`.
1616
1717Regular: *2-fixed*.
1818
19−Irregular: `\`_foo\`bar` is `:like(foo bar)`.
20−
2119## Examples
2220
2321```
24−~zod:dojo> :like('text' 97)
22+~zod:dojo> :like('text' %a)
2523'a'
2624```
25+
26+
docs/hoon/twig/ket-cast/sig-burn.md+1−1
@@ -9,7 +9,7 @@ sort: 6
99
1010## Produces
1111
12−`p`, folded as a constqnt if possible.
12+`p`, folded as a constant if possible.
1313
1414## Syntax
1515