on master help sign in
fixes cases where forms were called as in :wad(gate)
commit188bab8e7f95d0a90c2310836450f98570e915a6 authorJoseph Bryan <joemfb@gmail.com> dateMon 6 Jun 2016, 23:55 (10 years ago) parent50f3713
5 files changed+6−6
docs/hoon/twig/buc-mold.md+1−1 docs/hoon/twig/cen-call/tis-make.md+2−2 docs/hoon/twig/tis-flow/fas-var.md+1−1 docs/hoon/twig/tis-flow/sem-rev.md+1−1 docs/hoon/twig/wut-test/col-if.md+1−1
docs/hoon/twig/buc-mold.md+1−1
@@ -45,7 +45,7 @@ In any case, since molds are just functions, we can use
4545functional programming to assemble interesting molds. For
4646instance, `(map foo bar)` is a table from mold `foo` to mold
4747`bar`. `map` is not a mold; it's a function that makes a mold.
48−Molds and mold builder sare generally described together.
48+Molds and mold builders are generally described together.
4949
5050## Stems
5151
docs/hoon/twig/cen-call/tis-make.md+2−2
@@ -26,9 +26,9 @@ Irregular: `foo(x 1, y 2, z 3)` is `:make(foo x 1, y 2, z 3)`.
2626Note that `p` is a wing, not a twig. Knowing that a function
2727call `(foo bar)` involves making `foo`, replacing its sample
2828at slot `+6` with `bar`, and taking the `$` limb, you might think
29−`(foo bar)` would mean `:(make foo +6 bar)`.
29+`(foo bar)` would mean `:make(foo +6 bar)`.
3030
31−But it's actually `:pin(foo :(make $ +2 +6 bar))`. Even if `foo`
31+But it's actually `:pin(foo :make($ +2 +6 bar))`. Even if `foo`
3232is a wing, we would just be mutating `+6` within the core that
3333defines the `foo` arm. Instead we want to modify the *product*
3434of `foo` -- the gate -- so we have to pin it into the subject.
docs/hoon/twig/tis-flow/fas-var.md+1−1
@@ -11,7 +11,7 @@ noun with the subject.
1111## Expands to
1212
1313```
14−?@(p :pin(:name(p q) r) :pin(:cast(:(coat p) q) r)
14+?@(p :pin(:name(p q) r) :pin(:cast(:coat(p q) r)
1515```
1616
1717## Syntax
docs/hoon/twig/tis-flow/sem-rev.md+1−1
@@ -11,7 +11,7 @@ subject, inverted.
1111## Expands to
1212
1313```
14−?@(p :pin(:name(p r) q) :pin(:cast(:(coat p) r) q)
14+?@(p :pin(:name(p r) q) :pin(:cast(:coat(p r) q)
1515```
1616
1717## Syntax
docs/hoon/twig/wut-test/col-if.md+1−1
@@ -30,7 +30,7 @@ Regular: *3-fixed*.
3030
3131Short-circuiting in boolean tests works as you'd expect
3232and includes the expected inference. For instance,
33−if you write `:(and a b)`, `b` is only executed if `a` is
33+if you write `:and(a b)`, `b` is only executed if `a` is
3434positive, and compiled with that assumption.
3535
3636Note also that all other branching twigs reduce to `:if`.