on master help sign in
Fix hoon school libraries typos

Add a few missing words

commit60079c101ec3155a0a75eab38c80a18341c8895d authorhosted-fornet <hosted-fornet@protonmail.com> dateSat 27 Feb 2021, 18:17 (6 years ago) parent8411cad
1 file changed+2−2
tutorials/hoon/hoon-school/libraries.md+2−2
tutorials/hoon/hoon-school/libraries.md+2−2
@@ -151,11 +151,11 @@ Finally, in the code above, we come to `shuffle-deck`. This gate takes two argum
151151
152152Next, with `=/ random ~(. og entropy)`, we feed the `og` core the entropy it needs in preparation for using it. Then, with `=/ remaining (lent unshuffled)`, we get the length of the unshuffled deck with `lent`.
153153
154−`?: =(remaining 1)` checks if have only one card remaining. If that's true, we produce a cell of `shuffled` and the one card left in `unshuffled`. We use the `:_` rune here, so that the "heavier" hoon is at the bottom of the expression.
154+`?: =(remaining 1)` checks if we have only one card remaining. If that's true, we produce a cell of `shuffled` and the one card left in `unshuffled`. We use the `:_` rune here, so that the "heavier" hoon is at the bottom of the expression.
155155
156156If the above conditional evaluates to false, we are going to do a little work. `=^` is a rune that pins the head of a pair and changes a leg in the subject with the tail. It's useful for interacting with the `og` core arms, as many of them produce a pair of a random numbers and the next state of the core. We're going to put the random number in the subject with the face `index` and change `random` to be the next core.
157157
158−With completed, we use `%=` to call `$` to recurse back up to `|-` with a few changes.
158+With that completed, we use `%=` to call `$` to recurse back up to `|-` with a few changes.
159159
160160`shuffled` gets the `darc` from `unshuffled` at `index` added to the front of it.
161161