on master help sign in
Update even.md
47cb2bcrmariani
learn/hoon/workbook/even.md+3−3
@@ -25,7 +25,7 @@ The code above builds a gate. The gate's first argument is a cell provided by Do
25:- %noun
25:- %noun
26```
26```
27
27
28−This code is the third line of the `%say` "boilerplate, and it produces a `cask` with the head of `%noun`. We could use any `mark` here, but `%noun` is the most generic type, able to fit any data.
28+This code is the third line of the `%say` "boilerplate," and it produces a `cask` with the head of `%noun`. We could use any `mark` here, but `%noun` is the most generic type, able to fit any data.
29
29
30Below we'll examine the the series of `?` runes used.
30Below we'll examine the the series of `?` runes used.
31
31
@@ -41,7 +41,7 @@ The first expression is:
41=(0 (mod n 2))
41=(0 (mod n 2))
42```
42```
43
43
44−which simply asks if n is even or not.
44+which simply asks if `n` is even or not.
45
45
46The second expression is:
46The second expression is:
47
47
@@ -51,4 +51,4 @@ The second expression is:
51 ==
51 ==
52```
52```
53
53
54−Again we and two expressions with `?&` the first is just checking if n is greater than or equal to 1. The second we have artificially use the `?!` rune to demonstrate its use. `?!` is a logical NOT operation. We use that on the result of asking if n is greater than 100 to effectively ask if it is less than or equal to 100.
54+Again we use the "and" operator on two expressions with `?&` the first is just checking if n is greater than or equal to 1. The second we have artificially use the `?!` rune to demonstrate its use. `?!` is a logical NOT operation. We use that on the result of asking if n is greater than 100 to effectively ask if it is less than or equal to 100.