on master help sign in
misc hoon/reference links
commit616bd4c32b15c2f1c1cbbd63479df27707d0e65d authordrbeefsupreme <drbeefsupreme@discordja.net> dateFri 19 Feb 2021, 14:53 (6 years ago) parentca4f64d
5 files changed+7−7
hoon/hoon-school/caesar.md+1−1 hoon/hoon-school/hoon-syntax.md+1−1 hoon/reference/rune/_index.md+1−1 hoon/reference/rune/bar.md+3−3 hoon/reference/rune/cen.md+1−1
hoon/hoon-school/caesar.md+1−1
@@ -256,7 +256,7 @@ that constructs our `map`: `$(chart (~(put by chart) i.a i.b), a t.a, b t.b)`.
256256This code recursively adds an entry in our `map` where the head of the `tape` `a`
257257maps to the value of the head of `tape` `b` with `~(put by chart)`, our calling
258258of the `put` arm of the `by` map-engine core (note that `~(<wing> <door> <sample>`) is
259−a shorthand for `%~ <wing> <door> <sample>` (see the [Calls % ('cen')](/docs/reference/hoon-expressions/rune/cen/#censig)
259+a shorthand for `%~ <wing> <door> <sample>` (see the [Calls % ('cen')](@/docs/hoon/reference/rune/cen.md#censig)
260260documentation for more information). The recursion also "consumes"
261261those heads with every iteration by changing `a` and `b` to their tails using `a t.a, b t.b`.
262262
hoon/hoon-school/hoon-syntax.md+1−1
@@ -338,7 +338,7 @@ Standard library functions are often built with other standard library functions
338338
339339The Hoon syntax can be intimidating for the uninitiated, so it’s good to remember where you can look up expressions. The [Reference](@/docs/reference/_index.md) section itself is a good place to find the materials that you need. These children sections are likely to be useful:
340340
341−- The [Runes](@/docs/reference/hoon-expressions/rune/_index.md) page will show you how to use any Hoon rune.
341+- The [Runes](@/docs/hoon/reference/rune/_index.md) page will show you how to use any Hoon rune.
342342- The [Cheat Sheet](@/docs/hoon/reference/cheat-sheet.md) is a more compact place to look up rune expressions.
343343- The [Standard Library](@/docs/hoon/reference/stdlib/table-of-contents.md) section has its sub-pages arranged by category. So arithmetic functions, for example, are all found on the same page.
344344- The [Hoon Style Guide](@/docs/hoon/reference/style.md) will show you how to write your Hoon code so that it’s idiomatic and easily understood by others.
hoon/reference/rune/_index.md+1−1
@@ -13,7 +13,7 @@ Runes are a way to form expressions in Hoon.
1313
1414Hoon uses runes to form expressions, but not all expressions have runes in them. First, we have constant expressions (and also expressions that would be constant, but that they allow for interpolations).
1515
16−### [Limbs and Wings](@/docs/reference/hoon-expressions/limb/_index.md)
16+### [Limbs and Wings](@/docs/hoon/reference/limb/_index.md)
1717
1818Limb and wing expressions also lack runes.
1919
hoon/reference/rune/bar.md+3−3
@@ -136,7 +136,7 @@ Calling a door is like calling a gate except the caller also needs
136136to specify the arm to be computed. So, for example, if you have some door `door` which contains some arm `arm`, and you want to pass some argument (i.e., input value `arg`), you would call it with `~(arm door arg)`.
137137
138138Because gates are also doors, you can call them the same way. To call the gate `foo` as a door, instead of `(foo baz)` we would write `~($ foo baz)`. This
139−is an irregular form for `%~($ foo baz)`, [%~](/docs/reference/hoon-expressions/rune/cen#sig).
139+is an irregular form for `%~($ foo baz)`, [%~](@/docs/hoon/reference/rune/cen.md#censig).
140140
141141##### Examples
142142
@@ -346,7 +346,7 @@ A more interesting trap:
346346Note that we can use `$()` to recurse back into the
347347trap, since it's a core with an `$` arm.
348348
349−> `$(...)` expands to `%=($ ...)` (["centis"](/docs/reference/hoon-expressions/rune/cen#centis)).
349+> `$(...)` expands to `%=($ ...)` (["centis"](@/docs/hoon/reference/rune/cen.md#centis)).
350350
351351### `|-` "barhep"
352352
@@ -380,7 +380,7 @@ A `|-` expression produces a core with one arm named `$` and immediately evaluat
380380
381381The `|-` rune can be thought of as a 'recursion point' or a 'loop starting point'. Since `|-` makes a `|.` (["bardot"](#bardot), a core with one arm named `$`, we can recurse back into it with `$()`.
382382
383−> `$(...)` expands to `%=($ ...)` (["centis"](/docs/reference/hoon-expressions/rune/cen#centis)).
383+> `$(...)` expands to `%=($ ...)` (["centis"](@/docs/hoon/reference/rune/cen.md#centis)).
384384
385385##### Examples
386386
hoon/reference/rune/cen.md+1−1
@@ -53,7 +53,7 @@ A `%_` expression resolves to the value of the subject at wing `a`, but modified
5353
5454`%_` is different from `%=` because `%=` can change the type of a wing with mutations. `%_` preserves the wing type.
5555
56−See [how wings are resolved](@/docs/reference/hoon-expressions/limb/_index.md).
56+See [how wings are resolved](@/docs/hoon/reference/limb/_index.md).
5757
5858##### Examples
5959