on master help sign in
fixes links
eebbba0Robert
learn/arvo/arvo-internals/udon.udon+5−5
@@ -323,12 +323,12 @@ destination.
323*Example:*
323*Example:*
324
324
325```
325```
326−[I'm an inline-style link](https://www.urbit.org/docs/hoon/library)
326+[I'm an inline-style link](https://www.urbit.org/docs/reference/shell)
327```
327```
328
328
329###### Produces:
329###### Produces:
330
330
331−[I'm an inline-style link](https://www.urbit.org/docs/hoon/library)
331+[I'm an inline-style link](https://www.urbit.org/docs/reference/shell)
332
332
333The second type is a reference-style link, which uses a relative path, based on
333The second type is a reference-style link, which uses a relative path, based on
334the current page's location. Instead of the full url, we use `..` to fill in
334the current page's location. Instead of the full url, we use `..` to fill in
@@ -337,14 +337,14 @@ the all of the URL that the destination has in common with the origin page.
337*Example:*
337*Example:*
338
338
339```
339```
340−[I'm a reference-style link](../library)
340+[I'm a reference-style link](../shell)
341```
341```
342
342
343###### Produces:
343###### Produces:
344
344
345−[I'm a reference-style link](../library)
345+[I'm a reference-style link](../shell)
346
346
347−If this page is located at `https://www.urbit.org/docs/hoon/`, then these two
347+If this page is located at `https://www.urbit.org/docs/reference/`, then these two
348examples should have the same destination.
348examples should have the same destination.
349
349
350#### Anchor Link
350#### Anchor Link
reference/troubleshooting.udon+6−6
@@ -22,7 +22,7 @@ a correct Hoon file. These values are always correct.
22Usually, the line and column tell you everything you need to
22Usually, the line and column tell you everything you need to
23know. But the worst-case scenario for a syntax error is that,
23know. But the worst-case scenario for a syntax error is that,
24somewhere above, you've confused Hoon's tall form by using the
24somewhere above, you've confused Hoon's tall form by using the
25−wrong fanout for a rune. For example, `%+` ([*cenlus*](../rune/cen/lus),
25+wrong fanout for a rune. For example, `%+` ([*cenlus*](/docs/reference/hoon-expressions/rune/cen#cenlus),
26a function call whose sample is a cell) has three subhoons:
26a function call whose sample is a cell) has three subhoons:
27
27
28```
28```
@@ -102,7 +102,7 @@ means you tried to pound a square peg into a round hole.
102What was the peg and what was the hole? Hoon doesn't tell you by
102What was the peg and what was the hole? Hoon doesn't tell you by
103default, because moral fiber, and also because in too many cases
103default, because moral fiber, and also because in too many cases
104trivial errors lead to large intimidating dumps. However, you
104trivial errors lead to large intimidating dumps. However, you
105−can use the `~!` rune ([*sigzap*](../rune/sig/zap)) to print the type of
105+can use the `~!` rune ([*sigzap*](/docs/reference/hoon-expressions/rune/sig#sigzap)) to print the type of
106any hoon in your stack trace.
106any hoon in your stack trace.
107
107
108For instance, you wrote `(foo bar)` and got a `nest-fail`. Change
108For instance, you wrote `(foo bar)` and got a `nest-fail`. Change
@@ -132,7 +132,7 @@ function.
132
132
133These are errors caused by type inference in pattern matching.
133These are errors caused by type inference in pattern matching.
134`mint-vain` means this hoon is never executed. `mint-lost` means
134`mint-vain` means this hoon is never executed. `mint-lost` means
135−there's a case in a `?-` ([*wuthep*](../rune/wut/hep)) that isn't handled.
135+there's a case in a `?-` ([*wuthep*](./docs/reference/hoon-expressions/rune/wut#wuthep)) that isn't handled.
136
136
137## Runtime crashes
137## Runtime crashes
138
138
@@ -146,7 +146,7 @@ infinite loop will time out either too slowly or too fast). The
146stack trace will show what your code was doing when interrupted.
146stack trace will show what your code was doing when interrupted.
147
147
148The counterpart of `~!` for runtime crashes is `~|`
148The counterpart of `~!` for runtime crashes is `~|`
149−([*sigbar*](../rune/sig/bar)):
149+([*sigbar*](/docs/reference/hoon-expressions/rune/sig#sigbar)):
150
150
151```
151```
152~| foo
152~| foo
@@ -162,7 +162,7 @@ The worst possibility, of course, is that your code runs but does
162the wrong thing. This is relatively unusual in a typed
162the wrong thing. This is relatively unusual in a typed
163functional language, but it still happens.
163functional language, but it still happens.
164
164
165−`~&` ([*sigpad*](../rune/sig/pad)) is Hoon's debugging printf.
165+`~&` ([*sigpad*](/docs/reference/hoon-expressions/rune/sig#sigpad)) is Hoon's debugging printf.
166This pretty-prints its argument:
166This pretty-prints its argument:
167
167
168```
168```
@@ -171,7 +171,7 @@ This pretty-prints its argument:
171```
171```
172
172
173will always print `foo` every time it executes. A variant is
173will always print `foo` every time it executes. A variant is
174−`~?` ([*sigwut*](../rune/sig/wut)), which prints only if a condition is
174+`~?` ([*sigwut*](/docs/reference/hoon-expressions/rune/sig#sigwut)), which prints only if a condition is
175true:
175true:
176
176
177```
177```