on master help sign in
Various typos/corrections
commit58d497dfac1430c99ce3d0f186a74189b356994a author~hidwes-matped <jim.amberger@gmail.com> dateSun 31 Jul 2016, 18:24 (10 years ago) parentb3b66bb
8 files changed+22−11
docs/hoon/twig/bar-core/cen-core.md+1−1 docs/hoon/twig/buc-mold/cab-shoe.md+1−1 docs/hoon/twig/dot-nock/ket-wish.md−3 docs/hoon/twig/dot-nock/lus-bump.md+1−1 docs/hoon/twig/tis-flow/fas-var.md+3−3 docs/hoon/twig/tis-flow/hep-nip.md+1−1 docs/hoon/twig/wut-test/hep-case.md+14 docs/hoon/twig/wut-test/sig-ifno.md+1−1
docs/hoon/twig/bar-core/cen-core.md+1−1
@@ -27,7 +27,7 @@ an argument. A "method" on a core is an arm producing a gate.
2727A trivial core:
2828
2929```
30−~zod:dojo> =foo =+ x 58
30+~zod:dojo> =foo =+ x=58
3131 |%
3232 ++ n (add 42 x)
3333 ++ g |= b/@
docs/hoon/twig/buc-mold/cab-shoe.md+1−1
@@ -26,7 +26,7 @@ Irregular: `_foo` is `:shoe(foo)`.
2626
2727## Discussion
2828
29−A shoe discards the sample it's supposededly normalizing, and
29+A shoe discards the sample it's supposedly normalizing, and
3030produces its example instead.
3131
3232## Examples
docs/hoon/twig/dot-nock/ket-wish.md−3
@@ -19,6 +19,3 @@ typed immutable namespace defined by its virtual context.
1919
2020We don't remold dynamically nouns in a `:wish`, but we do check
2121that the type of the value nests in `p`.
22−
23−## Examples
24−
docs/hoon/twig/dot-nock/lus-bump.md+1−1
@@ -5,7 +5,7 @@ sort: 3
55
66# `:bump .+ "dotlus"`
77
8−`{$bump p/seed}`: increment an atom with Nock `4`.
8+`{$bump p/atom}`: increment an atom with Nock `4`.
99
1010## Produces
1111
docs/hoon/twig/tis-flow/fas-var.md+3−3
@@ -54,9 +54,9 @@ Regular: *3-fixed*.
5454
5555## Discussion
5656
57−`p` can be either a symbol or a symbol/mold. If it's just a
58−symbol, `:var` "declares a type-inferred variable." It has a
59−mold, `:var` "declares a type-checked variable."
57+`p` can be either a symbol or a symbol/mold. If it's just a symbol,
58+`:var` "declares a type-inferred variable." If it has a mold, `:var`
59+"declares a type-checked variable."
6060
6161## Examples
6262
docs/hoon/twig/tis-flow/hep-nip.md+1−1
@@ -5,7 +5,7 @@ sort: 4
55
66# `:nip =- "tishep"`
77
8−`{$pin p/seed q/seed}`: combine a new noun with the subject, inverted.
8+`{$nip p/seed q/seed}`: combine a new noun with the subject, inverted.
99
1010## Expands to
1111
docs/hoon/twig/wut-test/hep-case.md+14
@@ -56,6 +56,20 @@ will throw `mint-vain`. (Ecclesiastes did nothing wrong.)
5656
5757## Examples
5858
59+```
60+~zod:dojo> =cor :gate vat/?($a $b)
61+ :case vat
62+ $a 20
63+ $b 42
64+ ==
65+~zod:dojo> (cor %a)
66+20
67+~zod:dojo> (cor %b)
68+42
69+~zod:dojo> (cor %c)
70+! nest-fail
71+```
72+
5973```
6074~zod:dojo> =cor |= vat/?($a $b)
6175 ?- vat
docs/hoon/twig/wut-test/sig-ifno.md+1−1
@@ -34,5 +34,5 @@ only for a true null, `~`.
3434```
3535~zod:dojo> =foo ""
3636~zod:dojo> ?~(foo 1 2)
37−11
37+1
3838```