on master help sign in
Merge pull request #139 from keatondunsford/fix-hoon-empty-lines

Fixes some Hoon empty lines in docs/arvo.

commit0f863f844da91b1f70b2d5623b489515dbf8e986 authorGalen Wolfe-Pauly <galen@office-for.com> dateTue 14 Feb 2017, 13:39 (10 years ago) parent8aec709d7bdce2
2 files changed+6−9
docs/arvo/basic.md+4−6 docs/arvo/subject.md+2−3
docs/arvo/basic.md+4−6
@@ -68,14 +68,14 @@ Here is the hoon solution (which should be in your pier directory under
6868 :::: ~sivtyv-barnel
6969 ::
7070 |%
71− ++ three
71+ ++ three
7272 |= a/@
7373 =| b/@
7474 |- ^- @u
7575 ?: (lth a b)
7676 0
7777 (add b $(b (add 3 b)))
78−
78+ ::
7979 ++ five
8080 |= a/@
8181 =| b/@
@@ -85,7 +85,7 @@ Here is the hoon solution (which should be in your pier directory under
8585 ?: =((mod b 3) 0)
8686 $(b (add b 5))
8787 (add b $(b (add b 5)))
88−
88+ ::
8989 ++ sum
9090 |= a/@u
9191 (add (five a) (three a))
@@ -201,7 +201,7 @@ takes two children:
201201
202202### ++ three
203203
204− ++ three
204+ ++ three
205205 |= a/@
206206 =| b/@
207207 |- ^- @u
@@ -313,5 +313,3 @@ calling a function with *N* arguments. More on this later.
313313 formed from adjacent unicode bytes -- a "c string". To produce a
314314 cord, enclose text within single quotes. To set the type of an
315315 argument to a cord, use `@t`.
316−
317−
docs/arvo/subject.md+2−3
@@ -46,7 +46,7 @@ Hoon, we call the code executed the "formula" and its context the
4646 ?: (lth a b) ::
4747 0 ::
4848 (add b $(b (add 3 b))) ::
49− ::
49+ :: ::
5050 ++ five ::
5151 |= a/@ :: subject
5252 =| b/@ ::
@@ -56,7 +56,7 @@ Hoon, we call the code executed the "formula" and its context the
5656 ?: =((mod b 3) 0) ::
5757 $(b (add b 5)) ::
5858 (add b $(b (add b 5))) ::
59− ::
59+ :: ::
6060 ++ sum ::
6161 |= {a/@u b/@u} ::
6262 (add (five a) (three b)) ::
@@ -103,4 +103,3 @@ Cheatsheet:
103103- `(gte a b)` tests whether `a` is greater than or equal to `b`.
104104- `(mod a b)` runs the modulo operation on two atoms.
105105- See the basic math section in `/arvo/hoon.hoon` for more info.
106−