on master help sign in
this example is used early and threw me with the whitespace, line numbers are off in the arvo/hoon example
commit6bc7a983beba62a6250070a93791f4fa2528a04e authorHeow Goodman <spamtrap@alphageeksinc.com> dateThu 26 Jan 2017, 21:20 (10 years ago) parent1227d77
2 files changed+4−4
docs/arvo/basic.md+3−3 docs/using/shell.md+1−1
docs/arvo/basic.md+3−3
@@ -117,7 +117,7 @@ rune takes a specific number of children, either expressions formed by
117117other runes or literals that produce their own value (some runes take
118118*N* children, and are usually closed with `==`).
119119
120−For example, the rune `?:` from line 17 is the classic 'if-then-else'
120+For example, the rune `?:` from line 18 is the classic 'if-then-else'
121121statement, and thus takes three children:
122122
123123 ?: (lth a b) :: if first child evals to true
@@ -165,9 +165,9 @@ You can write:
165165 :if(=(1 2) 'this is true' 'this is false')
166166 'this is false'
167167
168−### Lines 12-34
168+### Lines 13-35
169169
170−Now let's quickly walk through this code line-by-line. Lines 12-34 are
170+Now let's quickly walk through this code line-by-line. Lines 13-35 are
171171wrapped in a `|%` ('[barcen](../../hoon/twig/bar-core/cen-core/)'), which produces a core. Cores are a
172172fundamental datatype in Hoon, similar to a struct, class, or object. A
173173core is just a map of names to any kind of code, whether it be functions
docs/using/shell.md+1−1
@@ -21,7 +21,7 @@ system for operating on and transforming data in Urbit.
2121
2222## Quickstart
2323
24−Evaluate a hoon expression:
24+Evaluate a hoon expression (whitespace matters):
2525
2626 ~your-urbit:dojo> (add 2 2)
2727 ~your-urbit:dojo> %+ add 2 2