on master help sign in
fix references to nonexistent chapter 3
commit6938c97d8197afd487d3d89186ba645339563e97 authorsyzygyzer <jon.paprocki@tlon.io> dateWed 4 Sep 2019, 15:47 (7 years ago) parentc4ed4fc
1 file changed+2−2
learn/hoon/hoon-tutorial/type-checking-and-type-inference.md+2−2
learn/hoon/hoon-tutorial/type-checking-and-type-inference.md+2−2
@@ -129,7 +129,7 @@ nest-fail
129129nest-fail
130130```
131131
132−We'll talk in more detail about the various kinds of type-checking that can occur at arm evaluation when we discuss type polymorphism in Chapter 3.
132+We'll talk in more detail about the various kinds of type-checking that can occur at arm evaluation when we discuss type polymorphism later in Chapter 2.
133133
134134This isn't a comprehensive list of the type checks in Hoon. It's only some of the most commonly used kinds. Two other runes that include a type check are `=.` and `%_`.
135135
@@ -175,7 +175,7 @@ It's important to remember to include a cast rune with each gate expression. Th
175175
176176### (Dry) Gate Sample Definitions
177177
178−By now you've used the `|=` rune to define several gates. This rune is used to produce a 'dry' gate, which has different type-checking and type-inference properties than a 'wet' gate does. We won't explain the wet/dry distinction until Chapter 3 -- for now, just keep in mind that we're only dealing with one kind of gate (albeit the more common kind).
178+By now you've used the `|=` rune to define several gates. This rune is used to produce a 'dry' gate, which has different type-checking and type-inference properties than a 'wet' gate does. We won't explain the wet/dry distinction until later in Chapter 2 -- for now, just keep in mind that we're only dealing with one kind of gate (albeit the more common kind).
179179
180180The first subexpression after the `|=` defines the sample type. Any faces used in this definition have the type declared for it in this definition. Consider again the addition function:
181181