on master help sign in
fix relative link
7709feaMatilde Park
tutorials/hoon/generators.md+2−2
@@ -11,7 +11,7 @@ input and produce an output, then disappear. Generators might make sense for
11listing directory contents, or running unit tests, or fetching the contents of a
11listing directory contents, or running unit tests, or fetching the contents of a
12URL.
12URL.
13
13
14−There are three kinds of generators: naked, `%say`, and `%ask`. There also used to be a fourth type of generator, `%get`, but this kind is no longer in use.
14+There are three kinds of generators: naked, `%say`, and `%ask`. There also used to be a fourth type of generator, `%get`, but this kind is no longer in use.
15
15
16### Naked Generators
16### Naked Generators
17
17
@@ -285,7 +285,7 @@ arguments that aren't in the cells.
28542
28542
286```
286```
287
287
288−### `%ask` generators
288+### `%ask` generators {#ask}
289
289
290We use the `%ask` generator when we want to create an interactive program
290We use the `%ask` generator when we want to create an interactive program
291that prompts for inputs as it runs, rather than expecting arguments to be passed
291that prompts for inputs as it runs, rather than expecting arguments to be passed