on master help sign in
fix error in %= and add runish
bbcb799~hoclun-rigsep
docs/hoon/twig/cen-call/tis-make.md+13−4
@@ -28,10 +28,19 @@ call `(foo bar)` involves making `foo`, replacing its sample
28at slot `+6` with `bar`, and taking the `$` limb, you might think
28at 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)`.
30
30
31−But it's actually `:pin(foo :make($ +2 +6 bar))`. Even if `foo`
31+But it's actually `:pin(foo :per(:make(+2 +6 bar) $))`. Even if `foo` is
32−is a wing, we would just be mutating `+6` within the core that
32+a wing, we would just be mutating `+6` within the core that defines the
33−defines the `foo` arm. Instead we want to modify the *product*
33+`foo` arm. Instead we want to modify the *product* of `foo` -- the gate
34−of `foo` -- the gate -- so we have to pin it into the subject.
34+-- so we have to pin it into the subject.
35+
36+Here's that again using runes:
37+```
38+=+ foo
39+=> %= +2
40+ +6 bar
41+ ==
42+ $
43+```
35
44
36## Examples
45## Examples
37
46