on master help sign in
Merge pull request #557 from urbit/rmariani-patch-1
00e4c5drmariani
learn/hoon/hoon-tutorial/conditionals.md+1−1
@@ -39,7 +39,7 @@ Below we'll examine the the series of `?` runes used.
39?: ?& =(0 (mod n 2))
39?: ?& =(0 (mod n 2))
40```
40```
41
41
42−`?:` is the simplest "wut" rune. It takes three expressions: a boolean test, a yes-branch, and a no-branch. The yes-branch is executed when the test evaluates to `%.y` and the no-branch is executed when the test evaluates to `%.n`. Here the yes-branch is `%.y` and the no-branch is `%.n`. The boolean test is the more complicated portion. First we're going to use `?&` to combine to expressions with a logical and operation.
42+`?:` is the simplest "wut" rune. It takes three expressions: a boolean test, a yes-branch, and a no-branch. The yes-branch is executed when the test evaluates to `%.y` and the no-branch is executed when the test evaluates to `%.n`. Here the yes-branch is `%.y` and the no-branch is `%.n`. The boolean test is the more complicated portion. First we're going to use `?&` to combine two expressions with a logical "and" operation.
43
43
44The first expression is:
44The first expression is:
45
45