Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _ref/docs/ajax0.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h3>The example</h3>
<p>
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
Expand Down
2 changes: 1 addition & 1 deletion _ref/html.tem
Original file line number Diff line number Diff line change
Expand Up @@ -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 <code>span</code>." (htmltests (new-hspace 3)))
(mac new-hspace "n" "Prints a horizontal spacer using <code>span</code>." (htmltests (new-hspace 3)))
(def blank-url "" "Returns path to a blank spacer GIF (<code>s.gif</code>)." (tests (blank-url)))
(def hspace "w" "Prints a horizontal spacer image of width <code>w</code>." (htmltests (hspace 3)))
(def vspace "h" "Prints a vertical spacer image of height <code>h</code>." (htmltests (vspace 3)))
Expand Down
2 changes: 1 addition & 1 deletion _ref/list.tem
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions _ref/srv.tem
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
(faketest "(serve 8080)" ""))

(def srvlog "type [args ...]" "Records timestamp and <code>args</code> in the server log <code>type</code>." (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"
Expand Down Expand Up @@ -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.")
)
)
2 changes: 1 addition & 1 deletion ref/ajax0.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h3>The example</h3>
<p>
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
Expand Down
7 changes: 2 additions & 5 deletions ref/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -814,12 +814,9 @@ <h2>Internals</h2>
<td class='arc'><pre>
&gt;(delimc #\})
<span class="stdout">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
</span></pre>
</td></tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion ref/html.html
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ <h2>Generating HTML</h2>
<td class='arc'><a name='new-hspace'></a>
<img src='macro.gif' title='Macro'/>
<span class='op'>new-hspace</span> <span class='args'>n</span>
<div class='desc'>Prints a horizonal spacer using <code>span</code>.</div>
<div class='desc'>Prints a horizontal spacer using <code>span</code>.</div>
</td>
<td class='arc'><pre>
&gt;(new-hspace 3)
Expand Down
2 changes: 1 addition & 1 deletion ref/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -1090,7 +1090,7 @@ <h2>Sequence manipulation</h2>
<td class='arc'><a name='get'></a>
<img src='proc.gif' title='Procedure'/>
<span class='op'>get</span> <span class='args'>index</span>
<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>
<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>
</td>
<td class='arc'><pre>
&gt;(map get.2 '((a b c) (1 2 3) (p q r)))
Expand Down
4 changes: 2 additions & 2 deletions ref/srv.html
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ <h2>Web server</h2>
<td class='arc'><a name='defbg'></a>
<img src='proc.gif' title='Procedure'/>
<span class='op'>defbg</span> <span class='args'>id sec [body ...]</span>
<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>
<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>
</td>
<td class='arc'> </td></tr>
</table>
Expand Down Expand Up @@ -1202,7 +1202,7 @@ <h2>Web server internals</h2>
<td class='arc'><a name='new-bgthread'></a>
<img src='proc.gif' title='Procedure'/>
<span class='op'>new-bgthread</span> <span class='args'>id f sec</span>
<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>
<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>
</td>
<td class='arc'> </td></tr>
</table>
Expand Down
2 changes: 1 addition & 1 deletion tut-anarki.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tut-stable.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down