on master help sign in
fixes '`' formatting and examples for :cast and :like
2db4ac5Joseph Bryan
docs/hoon/twig/ket-cast/hep-cast.md+4−2
@@ -15,7 +15,9 @@ sort: 2
15
15
16## Syntax
16## Syntax
17
17
18−Regular: *2-fixed*
18+Regular: *2-fixed*.
19+
20+Irregular: `` `foo`bar`` is `:cast(foo bar)`.
19
21
20## Discussion
22## Discussion
21
23
@@ -27,7 +29,7 @@ infinite loop in the compiler).
27
29
28## Examples
30## Examples
29
31
30−``
32+```
31~zod:dojo> (add 90 7)
33~zod:dojo> (add 90 7)
3297
3497
33~zod:dojo> `@t`(add 90 7)
35~zod:dojo> `@t`(add 90 7)
docs/hoon/twig/ket-cast/lus-like.md+5−3
@@ -16,11 +16,13 @@ within the span of `q`. Otherwise, `nest-fail`.
16
16
17Regular: *2-fixed*.
17Regular: *2-fixed*.
18
18
19−Irregular: `\`_foo\`bar` is `:like(foo bar)`.
20−
21## Examples
19## Examples
22
20
23```
21```
24−~zod:dojo> :like('text' 97)
22+~zod:dojo> :like('text' %a)
25'a'
23'a'
24+~zod:dojo> :like('text' 97)
25+nest-fail
26```
26```
27+
28+
docs/hoon/twig/ket-cast/sig-burn.md+1−1
@@ -9,7 +9,7 @@ sort: 6
9
9
10## Produces
10## Produces
11
11
12−`p`, folded as a constqnt if possible.
12+`p`, folded as a constant if possible.
13
13
14## Syntax
14## Syntax
15
15