Skip to content

Commit 8ad7e6a

Browse files
committed
misc: fix spelling
1 parent 26d37d2 commit 8ad7e6a

File tree

11 files changed

+14
-17
lines changed

11 files changed

+14
-17
lines changed

_ref/docs/ajax0.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h3>The example</h3>
1414
<p>
1515
To summarize how it all works:
1616
When you enter characters in the input field, the script.aculo.us
17-
autocompleter JavaScript sends the charaters to the Arc server, which returns the
17+
autocompleter JavaScript sends the characters to the Arc server, which returns the
1818
autocomplete suggestions. The autocompleter JavaScript displays the
1919
suggestions on the page.
2020
When you select a country, the updater JavaScript does three separate requests

_ref/html.tem

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
(mac whitepage "[body ...]" "Creates a white page containing the body." (htmltests (whitepage (prn "hello"))))
1212
(def errpage "[arg ...]" "Prints a white page containing the args." (htmltests (errpage "hello " "world")))
13-
(mac new-hspace "n" "Prints a horizonal spacer using <code>span</code>." (htmltests (new-hspace 3)))
13+
(mac new-hspace "n" "Prints a horizontal spacer using <code>span</code>." (htmltests (new-hspace 3)))
1414
(def blank-url "" "Returns path to a blank spacer GIF (<code>s.gif</code>)." (tests (blank-url)))
1515
(def hspace "w" "Prints a horizontal spacer image of width <code>w</code>." (htmltests (hspace 3)))
1616
(def vspace "h" "Prints a vertical spacer image of height <code>h</code>." (htmltests (vspace 3)))

_ref/list.tem

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ the sequences are identical." (tests (mismatch "abcde" "abXde") (mismatch '(1
123123
(map min "bird" "elephant")))
124124
(def sum "f seq" "Applies f to the elements of the sequence and sums the results. New in arc3." (tests (sum int "abc") (sum log '(1 2 3)) (sum cadr (obj a 1 b 2 c 3))))
125125

126-
(def get "index" "Generates a function to get the element referenced by index; the function can be applied to a table. This is useful for mapping, for instance. (It can also be applied to functions, not jus sequences.) New in arc3."
126+
(def get "index" "Generates a function to get the element referenced by index; the function can be applied to a table. This is useful for mapping, for instance. (It can also be applied to functions, not just sequences.) New in arc3."
127127
(tests (map get.2 '((a b c) (1 2 3) (p q r))) (get!b (obj a 10 b 20)) (get.42 log)))
128128
)
129129
(newtable "Other"

_ref/srv.tem

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
(faketest "(serve 8080)" ""))
8282

8383
(def srvlog "type [args ...]" "Records timestamp and <code>args</code> in the server log <code>type</code>." (tests (srvlog 'blog "Stuff to log")))
84-
(def defbg "id sec [body ...]" "Creates a background thread with the given id tha will run the body every sec seconds. Any existing thread with the same id is terminated. New in arc3.")
84+
(def defbg "id sec [body ...]" "Creates a background thread with the given id that will run the body every sec seconds. Any existing thread with the same id is terminated. New in arc3.")
8585
)
8686

8787
(newtable "Web server configuration variables"
@@ -194,6 +194,6 @@
194194
(mac timed-aform2 "genurl lasts f [body ...]" "timed-aform with ignored genurl argument.")
195195
(def logfile-name "type" "Creates logfile name for the given type. New in arc3." (tests (logfile-name "gif")))
196196
(def sortable "table comparison-fn" "Sorts a table. Default comparison is >. New in arc3." (tests (sortable (obj 'a 5 'b 2 'c 4))))
197-
(def new-bgthread "id f sec" "Creates a background thread with the given id tha will run f every sec seconds. Any existing thread with the same id is terminated. New in arc3.")
197+
(def new-bgthread "id f sec" "Creates a background thread with the given id that will run f every sec seconds. Any existing thread with the same id is terminated. New in arc3.")
198198
)
199199
)

ref/ajax0.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h3>The example</h3>
1414
<p>
1515
To summarize how it all works:
1616
When you enter characters in the input field, the script.aculo.us
17-
autocompleter JavaScript sends the charaters to the Arc server, which returns the
17+
autocompleter JavaScript sends the characters to the Arc server, which returns the
1818
autocomplete suggestions. The autocompleter JavaScript displays the
1919
suggestions on the page.
2020
When you select a country, the updater JavaScript does three separate requests

ref/app.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -814,12 +814,9 @@ <h2>Internals</h2>
814814
<td class='arc'><pre>
815815
&gt;(delimc #\})
816816
<span class="stdout">Error: _delimc: undefined;
817-
cannot reference an identifier b
818-
efore its definition
817+
cannot reference an identifier before its definition
819818
in module: top-level
820-
internal name:
821-
_delimc
822-
819+
internal name: _delimc
823820
</span></pre>
824821
</td></tr>
825822
<tr>

ref/html.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ <h2>Generating HTML</h2>
200200
<td class='arc'><a name='new-hspace'></a>
201201
<img src='macro.gif' title='Macro'/>
202202
<span class='op'>new-hspace</span> <span class='args'>n</span>
203-
<div class='desc'>Prints a horizonal spacer using <code>span</code>.</div>
203+
<div class='desc'>Prints a horizontal spacer using <code>span</code>.</div>
204204
</td>
205205
<td class='arc'><pre>
206206
&gt;(new-hspace 3)

ref/list.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ <h2>Sequence manipulation</h2>
10901090
<td class='arc'><a name='get'></a>
10911091
<img src='proc.gif' title='Procedure'/>
10921092
<span class='op'>get</span> <span class='args'>index</span>
1093-
<div class='desc'>Generates a function to get the element referenced by index; the function can be applied to a table. This is useful for mapping, for instance. (It can also be applied to functions, not jus sequences.) New in arc3.</div>
1093+
<div class='desc'>Generates a function to get the element referenced by index; the function can be applied to a table. This is useful for mapping, for instance. (It can also be applied to functions, not just sequences.) New in arc3.</div>
10941094
</td>
10951095
<td class='arc'><pre>
10961096
&gt;(map get.2 '((a b c) (1 2 3) (p q r)))

ref/srv.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ <h2>Web server</h2>
468468
<td class='arc'><a name='defbg'></a>
469469
<img src='proc.gif' title='Procedure'/>
470470
<span class='op'>defbg</span> <span class='args'>id sec [body ...]</span>
471-
<div class='desc'>Creates a background thread with the given id tha will run the body every sec seconds. Any existing thread with the same id is terminated. New in arc3.</div>
471+
<div class='desc'>Creates a background thread with the given id that will run the body every sec seconds. Any existing thread with the same id is terminated. New in arc3.</div>
472472
</td>
473473
<td class='arc'> </td></tr>
474474
</table>
@@ -1202,7 +1202,7 @@ <h2>Web server internals</h2>
12021202
<td class='arc'><a name='new-bgthread'></a>
12031203
<img src='proc.gif' title='Procedure'/>
12041204
<span class='op'>new-bgthread</span> <span class='args'>id f sec</span>
1205-
<div class='desc'>Creates a background thread with the given id tha will run f every sec seconds. Any existing thread with the same id is terminated. New in arc3.</div>
1205+
<div class='desc'>Creates a background thread with the given id that will run f every sec seconds. Any existing thread with the same id is terminated. New in arc3.</div>
12061206
</td>
12071207
<td class='arc'> </td></tr>
12081208
</table>

tut-anarki.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ arc> (with (x 3 y 4)
308308
5
309309
```
310310

311-
So far we've only had things printed out implicity as a result of
311+
So far we've only had things printed out implicitly as a result of
312312
evaluating them. The standard way to print things out in the middle
313313
of evaluation is with `pr` or `prn`. They take multiple arguments and
314314
print them in order; `prn` also prints a newline at the end. Here's

0 commit comments

Comments
 (0)