on master help sign in
misc fixes (#740)
1914142sidful-pagred
tutorials/hoon/fibonacci.md+2−2
@@ -35,7 +35,7 @@ Why are we using this instead of just producing the list in the order we want it
35=+ [i=0 p=0 q=1 r=*(list @ud)]
35=+ [i=0 p=0 q=1 r=*(list @ud)]
36```
36```
37
37
38−Here we declare several values that we are going to use the execution of our program. The only one of these that is noteworthy is `r`: we're using `*` to bunt, or get the default value for, the mold `(list @ud)`.
38+Here we declare several values that we are going to use during the execution of our program. The only one of these that is noteworthy is `r`: we're using `*` to bunt, or get the default value for, the mold `(list @ud)`.
39
39
40```hoon
40```hoon
41|- ^+ r
41|- ^+ r
@@ -58,4 +58,4 @@ In the code above, `?:` checks whether the first child, `=(i n)`, our terminatin
58==
58==
59```
59```
60
60
61−The final expression in our program calls the `$` arm of the trap we are but makes some changes: we increment `i`, set `p` to be `q` and `q` becomes the sum of `p` and `q`. `r` becomes a cell of `q` and whatever `r` was previously. The list built from this is the one that will get `flop`ped to produce the result at the end of the computation.
61+The final expression in our program calls the `$` arm of the trap we are in but makes some changes: we increment `i`, set `p` to be `q` and `q` becomes the sum of `p` and `q`. `r` becomes a cell of `q` and whatever `r` was previously. The list built from this is the one that will get `flop`ped to produce the result at the end of the computation.
tutorials/hoon/gates.md+1−1
@@ -233,7 +233,7 @@ We can unbind `b` from the dojo subject, and `ten` works just as well because it
233> (ten 35)
233> (ten 35)
23445
23445
235
235
236−> b.+7.ten
236+> b.+6.ten
23710
23710
238```
238```
239
239
tutorials/hoon/the-subject-and-its-legs.md+1−1
@@ -193,7 +193,7 @@ You can think of this sort of lark series -- e.g., `+>-<` -- as indicating a bin
193 / \
193 / \
194 6 7
194 6 7
195```
195```
196−2. Use a lark expression to obtain the value 9 in the following noun: `[[5 6] 7 [[8 9 10] 3] 2] 1]`.
196+2. Use a lark expression to obtain the value 8 in the following noun: `[[5 6] 7 [[8 9 10] 3] 2] 1]`.
197
197
198Solutions to these exercises may be found at the bottom of this lesson.
198Solutions to these exercises may be found at the bottom of this lesson.
199
199