on master help sign in
Fixed a rune syntax error, a misspelling, some formatting issues, and some grammar errors
commit6a554e0c90dfe8f82aeca8deecef93dd4c92ba00 authorJoseph E.S. Cieslik <unknownmasayoshi@gmail.com> dateTue 31 May 2016, 16:10 (10 years ago) parent8564483
3 files changed+9−9
docs/hoon/concepts.md+3−3 docs/hoon/syntax.md+5−5 docs/nock/definition.md+1−1
docs/hoon/concepts.md+3−3
@@ -78,7 +78,7 @@ Turing-complete, non-lambda combinator function. The function
7878takes a cell `{subject formula}`, and produces a noun `product`.
7979
8080To program in Hoon, this is all you need to know about Nock. But
81−it's still bfun and useful to [learn more](../../nock).
81+it's still fun and useful to [learn more](../../nock).
8282
8383## Compilation concepts
8484
@@ -121,7 +121,7 @@ contain flat twigs, but not vice versa.
121121
122122Regular forms always start with a *sigil*, which is either a
123123*keyword* or a *rune* at the programmer's choice. A keyword is
124−the stem cord,
124+the stem cord.
125125
126126For most stems, tall regular form has no delimiter or terminator,
127127eliminating the `)))))` problem common in functional languages.
@@ -156,7 +156,7 @@ no syntax for spans; they are always defined by inference (ie, by
156156### `gate` (function)
157157
158158A `gate` is a Hoon function (lambda or closure). Other
159−constructs Urbit are functions in the mathematical sense -- for
159+constructs in Urbit are functions in the mathematical sense -- for
160160instance, a Nock formula is also a function. But a gate is not a
161161formula. The gate's argument is its *sample*; the result is its
162162*product*.
docs/hoon/syntax.md+5−5
@@ -54,7 +54,7 @@ the eye to tell whether a token on the screen is a feature of the
5454language, or a label in the program. For example, in Lisp a
5555special form has the same syntax as a function call.
5656
57−The worst-case result of FLC is "DSL cancer". Every source file
57+The worst-case result of FLC is "DSL cancer." Every source file
5858is effectively written in its own domain-specific language. To
5959read a new file is to learn a new language -- "write-only code."
6060
@@ -139,10 +139,10 @@ Some twigs (simple leafy ones) have *only* irregular forms.
139139A regular form starts with a *sigil*, which is either a
140140*keyword* or a *rune* -- at the programmer's choice.
141141
142−A *keyword* is `:` and then the stem label - eg, `:cons`.
142+A *keyword* is `:` and then the stem label - e.g., `:cons`.
143143
144−A *rune* is a pair of ASCII punctuation marks (a digraph) - eg,
145−`:-`. The first glyph in the rune indicates the category - eg,
144+A *rune* is a pair of ASCII punctuation marks (a digraph) - e.g.,
145+`:-`. The first glyph in the rune indicates the category - e.g.,
146146`:` runes make cells. Runes can be pronounced by their glyphs or
147147by their stem -- for `:-`, you can say either "colhep" or "cons".
148148
@@ -196,7 +196,7 @@ both tall/flat mode switches and well-shaped gaps. (Hoon layout
196196could probably be done automatically with reasonable quality.
197197But it would at least take machine learning, not a rule engine.)
198198
199−There only two real *rules* in Hoon whitespace design: don't
199+There are only two real *rules* in Hoon whitespace design: don't
200200go past 80 characters, and don't use (completely) blank lines.
201201Otherwise, if it looks good and is easy to read, it's good. But
202202the best way to learn the art is to do everything by convention
docs/nock/definition.md+1−1
@@ -109,7 +109,7 @@ in the subject.
109109
110110A formula `[1 b]` produces the constant noun `b`.
111111
112−A formula `[2 b c]` treats `b` and `c` is formulas, resolves each
112+A formula `[2 b c]` treats `b` and `c` as formulas, resolves each
113113against the subject, then computes Nock again with the product of
114114`b` as the subject, `c` as the formula.
115115