on master help sign in
links: generators.md
4a38947drbeefsupreme
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.
22
22
23This tutorial can be
23This tutorial can be
24considered to be an application equivalent of the [Hoon school
24considered 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`
26generators, which only covers the bare minimum necessary to write generators
26generators, which only covers the bare minimum necessary to write generators
27that take user input.
27that take user input.
28
28
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
18==
18==
19```
19```
20
20
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.
22
22
23```hoon
23```hoon
24|= [* [n=@ud ~] ~]
24|= [* [n=@ud ~] ~]
hoon/hoon-school/workbook/digits.md+1−1
@@ -22,7 +22,7 @@ of its digits.
22==
22==
23```
23```
24
24
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
26need some "boilerplate" code in the format of `[%say [%noun "data"]]`:
26need some "boilerplate" code in the format of `[%say [%noun "data"]]`:
27
27
28```hoon
28```hoon
hoon/hoon-school/workbook/eightball.md+1−1
@@ -60,7 +60,7 @@ is good practice whenever developing something in Hoon.
60
60
61To make our program produce a random result, we need entropy. To get entropy,
61To make our program produce a random result, we need entropy. To get entropy,
62we need data from Arvo. To get data from Arvo, we use a generator of the
62we 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
64the template that is followed for all `%say` generators.
64the template that is followed for all `%say` generators.
65
65
66`:- %say` creates a cell with `%say` as that cell's head to define
66`:- %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.
37```
37```
38
38
39Here's the boilerplate code to designate our generator as being a
39Here'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
41it allows us to run the generator without any arguments. It's otherwise not
41it allows us to run the generator without any arguments. It's otherwise not
42relevant to the functionality of our program.
42relevant to the functionality of our program.
43
43