Skip to content

Commit d85d228

Browse files
committed
fix-the-word-to-should-be-spelled-too
1 parent baf7770 commit d85d228

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/src/anatomy-of-a-gluon-program.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Anatomy of a gluon program
22

3-
Let's look at a slightly larger program by writing a guessing game. In this game the player will guess at a random number between 1 and 100 and the program will say whether each guess is to low or to high. If the player guesses correctly the program will congratulate the player and exit.
3+
Let's look at a slightly larger program by writing a guessing game. In this game the player will guess at a random number between 1 and 100 and the program will say whether each guess is too low or too high. If the player guesses correctly the program will congratulate the player and exit.
44

55
As a base we can take the hello world example.
66

@@ -97,7 +97,7 @@ let guess_number _ : () -> IO () =
9797
guess_number ()
9898
```
9999

100-
Now there is at least a way to guess again on the same number! It is still a rather tedious game though as the only hint we get is that the number is between 1 and 100 so lets add the last part of letting the program tell whether the guess is to high or to low.
100+
Now there is at least a way to guess again on the same number! It is still a rather tedious game though as the only hint we get is that the number is between 1 and 100 so lets add the last part of letting the program tell whether the guess is too high or too low.
101101

102102
```f#,rust
103103
let io @ { ? } = import! std.io

0 commit comments

Comments
 (0)