From 8ad7e6adae3c3c0f833b8e1ebeab900f537b22bb Mon Sep 17 00:00:00 2001 From: John Bampton Date: Tue, 27 May 2025 08:10:21 +1000 Subject: [PATCH] misc: fix spelling --- _ref/docs/ajax0.html | 2 +- _ref/html.tem | 2 +- _ref/list.tem | 2 +- _ref/srv.tem | 4 ++-- ref/ajax0.html | 2 +- ref/app.html | 7 ++----- ref/html.html | 2 +- ref/list.html | 2 +- ref/srv.html | 4 ++-- tut-anarki.md | 2 +- tut-stable.md | 2 +- 11 files changed, 14 insertions(+), 17 deletions(-) diff --git a/_ref/docs/ajax0.html b/_ref/docs/ajax0.html index ca9debf..e28f07c 100644 --- a/_ref/docs/ajax0.html +++ b/_ref/docs/ajax0.html @@ -14,7 +14,7 @@

The example

To summarize how it all works: When you enter characters in the input field, the script.aculo.us -autocompleter JavaScript sends the charaters to the Arc server, which returns the +autocompleter JavaScript sends the characters to the Arc server, which returns the autocomplete suggestions. The autocompleter JavaScript displays the suggestions on the page. When you select a country, the updater JavaScript does three separate requests diff --git a/_ref/html.tem b/_ref/html.tem index 2fda479..6cd1ccf 100644 --- a/_ref/html.tem +++ b/_ref/html.tem @@ -10,7 +10,7 @@ (mac whitepage "[body ...]" "Creates a white page containing the body." (htmltests (whitepage (prn "hello")))) (def errpage "[arg ...]" "Prints a white page containing the args." (htmltests (errpage "hello " "world"))) -(mac new-hspace "n" "Prints a horizonal spacer using span." (htmltests (new-hspace 3))) +(mac new-hspace "n" "Prints a horizontal spacer using span." (htmltests (new-hspace 3))) (def blank-url "" "Returns path to a blank spacer GIF (s.gif)." (tests (blank-url))) (def hspace "w" "Prints a horizontal spacer image of width w." (htmltests (hspace 3))) (def vspace "h" "Prints a vertical spacer image of height h." (htmltests (vspace 3))) diff --git a/_ref/list.tem b/_ref/list.tem index 8b965f8..d0e443b 100644 --- a/_ref/list.tem +++ b/_ref/list.tem @@ -123,7 +123,7 @@ the sequences are identical." (tests (mismatch "abcde" "abXde") (mismatch '(1 (map min "bird" "elephant"))) (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)))) -(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." +(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." (tests (map get.2 '((a b c) (1 2 3) (p q r))) (get!b (obj a 10 b 20)) (get.42 log))) ) (newtable "Other" diff --git a/_ref/srv.tem b/_ref/srv.tem index 7499bf3..56bf321 100644 --- a/_ref/srv.tem +++ b/_ref/srv.tem @@ -81,7 +81,7 @@ (faketest "(serve 8080)" "")) (def srvlog "type [args ...]" "Records timestamp and args in the server log type." (tests (srvlog 'blog "Stuff to log"))) -(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.") +(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.") ) (newtable "Web server configuration variables" @@ -194,6 +194,6 @@ (mac timed-aform2 "genurl lasts f [body ...]" "timed-aform with ignored genurl argument.") (def logfile-name "type" "Creates logfile name for the given type. New in arc3." (tests (logfile-name "gif"))) (def sortable "table comparison-fn" "Sorts a table. Default comparison is >. New in arc3." (tests (sortable (obj 'a 5 'b 2 'c 4)))) -(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.") +(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.") ) ) diff --git a/ref/ajax0.html b/ref/ajax0.html index ca9debf..e28f07c 100644 --- a/ref/ajax0.html +++ b/ref/ajax0.html @@ -14,7 +14,7 @@

The example

To summarize how it all works: When you enter characters in the input field, the script.aculo.us -autocompleter JavaScript sends the charaters to the Arc server, which returns the +autocompleter JavaScript sends the characters to the Arc server, which returns the autocomplete suggestions. The autocompleter JavaScript displays the suggestions on the page. When you select a country, the updater JavaScript does three separate requests diff --git a/ref/app.html b/ref/app.html index e271a78..d4e9812 100644 --- a/ref/app.html +++ b/ref/app.html @@ -814,12 +814,9 @@

Internals

 >(delimc #\})
 Error: _delimc: undefined;
- cannot reference an identifier b
-efore its definition
+ cannot reference an identifier before its definition
   in module: top-level
-  internal name:
- _delimc
-
+  internal name: _delimc
 
diff --git a/ref/html.html b/ref/html.html index 38a6b24..fe7e970 100644 --- a/ref/html.html +++ b/ref/html.html @@ -200,7 +200,7 @@

Generating HTML

new-hspace n -
Prints a horizonal spacer using span.
+
Prints a horizontal spacer using span.
 >(new-hspace 3)
diff --git a/ref/list.html b/ref/list.html
index eefce9b..50cee9f 100644
--- a/ref/list.html
+++ b/ref/list.html
@@ -1090,7 +1090,7 @@ 

Sequence manipulation

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.
+
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.
 >(map get.2 '((a b c) (1 2 3) (p q r)))
diff --git a/ref/srv.html b/ref/srv.html
index b668802..18bd552 100644
--- a/ref/srv.html
+++ b/ref/srv.html
@@ -468,7 +468,7 @@ 

Web server

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.
+
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.
@@ -1202,7 +1202,7 @@

Web server internals

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.
+
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.
diff --git a/tut-anarki.md b/tut-anarki.md index 4a24091..3c2d657 100644 --- a/tut-anarki.md +++ b/tut-anarki.md @@ -308,7 +308,7 @@ arc> (with (x 3 y 4) 5 ``` -So far we've only had things printed out implicity as a result of +So far we've only had things printed out implicitly as a result of evaluating them. The standard way to print things out in the middle of evaluation is with `pr` or `prn`. They take multiple arguments and print them in order; `prn` also prints a newline at the end. Here's diff --git a/tut-stable.md b/tut-stable.md index 1169520..ccaaf05 100644 --- a/tut-stable.md +++ b/tut-stable.md @@ -307,7 +307,7 @@ arc> (with (x 3 y 4) 5 ``` -So far we've only had things printed out implicity as a result of +So far we've only had things printed out implicitly as a result of evaluating them. The standard way to print things out in the middle of evaluation is with `pr` or `prn`. They take multiple arguments and print them in order; `prn` also prints a newline at the end. Here's