links: generators.md
commit4a38947353696d7a7690f4d14179689833d7e19b
authordrbeefsupreme <drbeefsupreme@discordja.net>
dateFri 19 Feb 2021, 12:43 (6 years ago)
parent0c4b304
hoon/guides/cli-tutorial.md+1−1
@@ -22,7 +22,7 @@ the functionality of the `%shoe` app and then go through the code line-by-line.
2222
2323This tutorial can be
2424considered to be an application equivalent of the [Hoon school
25−lesson](@/docs/tutorials/hoon/hoon-school/generators.md#ask) on `sole` and `%ask`
25+lesson](@/docs/hoon/hoon-school/generators.md#ask) on `sole` and `%ask`
2626generators, which only covers the bare minimum necessary to write generators
2727that take user input.
2828
hoon/hoon-school/conditionals.md+1−1
@@ -18,7 +18,7 @@ In this lesson, we will write a generator that takes an integer and checks if it
1818==
1919```
2020
21−On the very first line, with `:- %say` we are beginning to create a generator of the `%say` variety. The result of a `%say` generator is a cell with a head of `%say` and tail that is a [gate](/docs/glossary/gate/), itself producing a `cask`, a pair of a `mark` and some data. It's not important for understanding conditionals; this is just template code. For more information about `%say` generators, see the [Generators](@/docs/tutorials/hoon/hoon-school/generators.md) documentation.
21+On the very first line, with `:- %say` we are beginning to create a generator of the `%say` variety. The result of a `%say` generator is a cell with a head of `%say` and tail that is a [gate](/docs/glossary/gate/), itself producing a `cask`, a pair of a `mark` and some data. It's not important for understanding conditionals; this is just template code. For more information about `%say` generators, see the [Generators](@/docs/hoon/hoon-school/generators.md) documentation.
2222
2323```hoon
2424|= [* [n=@ud ~] ~]
hoon/hoon-school/workbook/digits.md+1−1
@@ -22,7 +22,7 @@ of its digits.
2222==
2323```
2424
25−We're creating a [`%say` generator](@/docs/tutorials/hoon/hoon-school/generators.md). That means we
25+We're creating a [`%say` generator](@/docs/hoon/hoon-school/generators.md). That means we
2626need some "boilerplate" code in the format of `[%say [%noun "data"]]`:
2727
2828```hoon
hoon/hoon-school/workbook/eightball.md+1−1
@@ -60,7 +60,7 @@ is good practice whenever developing something in Hoon.
6060
6161To make our program produce a random result, we need entropy. To get entropy,
6262we need data from Arvo. To get data from Arvo, we use a generator of the
63−[`%say`](@/docs/tutorials/hoon/hoon-school/generators.md) variety. The above code chunk is
63+[`%say`](@/docs/hoon/hoon-school/generators.md) variety. The above code chunk is
6464the template that is followed for all `%say` generators.
6565
6666`:- %say` creates a cell with `%say` as that cell's head to define
hoon/hoon-school/workbook/traffic-light.md+1−1
@@ -37,7 +37,7 @@ Let's look at the code piece-by-piece.
3737```
3838
3939Here's the boilerplate code to designate our generator as being a
40−[`%say` generator](@/docs/tutorials/hoon/hoon-school/generators.md). We're using this variant because
40+[`%say` generator](@/docs/hoon/hoon-school/generators.md). We're using this variant because
4141it allows us to run the generator without any arguments. It's otherwise not
4242relevant to the functionality of our program.
4343