Skip to content

Commit

Permalink
Fix typos in core docs
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielleSucher committed May 11, 2013
1 parent 8956a60 commit c5d4649
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 36 deletions.
10 changes: 5 additions & 5 deletions docs/IoGuide.html
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ <h3>Methods</h3>
Dog bark
</pre>

The default return value of a block is the result of the last expression.
The default return value of a block is the result of the last expression.

<h4>Arguments</h4>

Expand Down Expand Up @@ -1284,7 +1284,7 @@ <h3>ifTrue, ifFalse</h3>
(y < 10) ifTrue(x := y) ifFalse(x := 2)
</pre>

Notice that the condition expression must have parenthesis surrounding it.
Notice that the condition expression must have parentheses surrounding it.



Expand Down Expand Up @@ -1676,7 +1676,7 @@ <h2>Primitives<a name="Primitives"></a></h2>
Primitives are objects built into Io whose methods are typically implemented in C and store some hidden data in their instances. For example, the Number primitive has a double precision floating point number as its hidden data and its methods that do arithmetic operations are C functions. All Io primitives inherit from the Object prototype and are mutable. That is, their methods can be changed. The reference docs contain more info on primitives.
<p>

This document is not meant as a reference manual, but an overview of the base primitives and bindings is provided here to give the user a jump start and a feel for what is available and where to look in the reference documentation for further details.
This document is not meant as a reference manual, but an overview of the base primitives and bindings is provided here to give the user a jump-start and a feel for what is available and where to look in the reference documentation for further details.


</tr><tr><td colspan=3 class=sectionDivider></td></tr>
Expand Down Expand Up @@ -1908,7 +1908,7 @@ <h3>Sequence</h3>
==> list("the", "quick", "brown", "fox")
</pre>

Splitting by others character is possible as well.
Splitting by other characters is possible as well.

<pre>
"a few good men" split("e")
Expand Down Expand Up @@ -1944,7 +1944,7 @@ <h3>Ranges</h3>
</td><td></td><td>


A range is a container containing a start and an end point, and instructions on how to get from the start, to the end. Using Ranges is often convenient when creating large lists of sequential data as they can be easily converted to lists, or as a replacement for the for() method.
A range is a container containing a start and an end point, and instructions on how to get from the start to the end. Using Ranges is often convenient when creating large lists of sequential data as they can be easily converted to lists, or as a replacement for the for() method.

<h4>The Range protocol</h4>

Expand Down
4 changes: 2 additions & 2 deletions docs/reference/Core/Core/Block/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
prints an Io source code representation of the block/method
Prints an Io source code representation of the block/method.
</div>
<a name="Block-println"></a><b>
println
Expand Down Expand Up @@ -149,7 +149,7 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
Set's the receiver's message to a compiled version of aString. Returns self
Sets the receiver's message to a compiled version of aString. Returns self.
</div>
<a name="Block-setMessage"></a><b>
setMessage(aMessage)
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/Core/Core/CFunction/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
Returns the CFunction name in the form CFunction_Pointer.")
Returns the CFunction name in the form CFunction_Pointer.
</div>
<a name="CFunction-performOn"></a><b>
performOn(target, blockLocals, optionalMessage, optionalContext)
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/Core/Core/Coroutine/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
Returns the parent coroutine this one was chained from or nil if it wasn't chained. When a Coroutine ends, it will attempt to resume it's parent.
Returns the parent coroutine this one was chained from or nil if it wasn't chained. When a Coroutine ends, it will attempt to resume its parent.
</div>
<a name="Coroutine-pause"></a><b>
pause
Expand Down
6 changes: 3 additions & 3 deletions docs/reference/Core/Core/File/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ <h1>Io Reference</h1>
<p>
<div class=slotDescription>
Moves the file specified by the receiver's path to the
new path pathString. Raises an File doesNotExist exception if the
new path pathString. Raises a File doesNotExist exception if the
file does not exist or a File nameConflict exception if the file
nameString already exists.
</div>
Expand Down Expand Up @@ -435,7 +435,7 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
Reopen's otherFile and redirects its stream to this file's path using mode.
Reopens otherFile and redirects its stream to this file's path using mode.
If mode is omitted, it is copied from otherFile.
Returns self or raises a File exception on error.
</div>
Expand Down Expand Up @@ -579,7 +579,7 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
Trunctates the file's size to the numberOfBytes. Returns self.
Truncates the file's size to the numberOfBytes. Returns self.
</div>
<a name="File-userId"></a><b>
userId
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/Core/Core/List/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
Adds each value not already contained by the receiver, returns self.
Adds each value not already contained by the receiver. Returns self.
</div>
<a name="List-appendSeq"></a><b>
appendSeq(aList1, aList2, ...)
Expand Down
8 changes: 4 additions & 4 deletions docs/reference/Core/Core/Map/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,14 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
returns true if this map doesn't contain any pairs.
Returns true if this map doesn't contain any pairs.
</div>
<a name="Map-isNotEmpty"></a><b>
isNotEmpty
</b>
<p>
<div class=slotDescription>
returns true if this map contains at least one pair.
Returns true if this map contains at least one pair.
</div>
<a name="Map-justSerialized"></a><b>
justSerialized(stream)
Expand Down Expand Up @@ -198,14 +198,14 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
Create a new Map using values as keys and keys as values
Creates a new Map using values as keys and keys as values
</div>
<a name="Map-select"></a><b>
select(optionalIndex, optionalValue, message)
</b>
<p>
<div class=slotDescription>
Create a new Map with keys,values of self for which message evaluated
Creates a new Map with keys,values of self for which message evaluated
to non-nil.
</div>
<a name="Map-size"></a><b>
Expand Down
10 changes: 5 additions & 5 deletions docs/reference/Core/Core/Message/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
Adds aMessage to the argument list of receiver. Examples,
Adds aMessage to the argument list of receiver. Examples:
<pre>
Io> message(a) appendArg(message(b))
==> a(b)
Expand Down Expand Up @@ -154,8 +154,8 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
Returns the message character number. The charcter number is typically
the beginning character index in the source text from with the message was read.
Returns the message character number. The character number is typically
the beginning character index in the source text from which the message was read.
</div>
<a name="Message-clone"></a><b>
clone
Expand Down Expand Up @@ -263,8 +263,8 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
Returns the line number of the message. The charcter number
is typically the line number in the source text from with the message was read.
Returns the line number of the message. The character number
is typically the line number in the source text from which the message was read.
</div>
<a name="Message-name"></a><b>
name
Expand Down
4 changes: 2 additions & 2 deletions docs/reference/Core/Core/Object/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1>Io Reference</h1>
<td align=right></td>
<td></td>
<td>An Object is a key/value dictionary with string keys and values of any type.
The prototype Object contains a clone slot that is a CFuntion that creates new objects.
The prototype Object contains a clone slot that is a CFunction that creates new objects.
When cloned, an Object will call its init slot (with no arguments).
</td></tr>
<tr><td colspan=3>&nbsp;</td></tr>
Expand Down Expand Up @@ -265,7 +265,7 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
accesses memory in the IoObjectData struct that should be accessible. Should cause a memory access
Accesses memory in the IoObjectData struct that should be accessible. Should cause a memory access
exception if memory is corrupt.
</div>
<a name="Object-clone"></a><b>
Expand Down
22 changes: 11 additions & 11 deletions docs/reference/Core/Core/Sequence/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
Vector addition - Adds the values of aSeq to the corresponding values of the receiver
Vector addition - adds the values of aSeq to the corresponding values of the receiver
returning a new vector with the result.
Only works on Sequences whose item type is numeric.
</div>
Expand Down Expand Up @@ -134,7 +134,7 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
Sets each value of the Sequence to the trigonometric arcsine of it's value.
Sets each value of the Sequence to the trigonometric arcsine of its value.
Returns self.
</div>
<a name="Sequence-afterSeq"></a><b>
Expand Down Expand Up @@ -595,7 +595,7 @@ <h1>Io Reference</h1>
<p>
<div class=slotDescription>
Removes the contents of the receiver after the end of
the first occurance of aSequence. Returns true if anything was
the first occurrence of aSequence. Returns true if anything was
removed, or false otherwise.
</div>
<a name="Sequence-clipAfterStartOfSeq"></a><b>
Expand All @@ -604,7 +604,7 @@ <h1>Io Reference</h1>
<p>
<div class=slotDescription>
Removes the contents of the receiver after the beginning of
the first occurance of aSequence. Returns true if anything was
the first occurrence of aSequence. Returns true if anything was
removed, or false otherwise.
</div>
<a name="Sequence-clipBeforeEndOfSeq"></a><b>
Expand All @@ -613,7 +613,7 @@ <h1>Io Reference</h1>
<p>
<div class=slotDescription>
Removes the contents of the receiver before the end of
the first occurance of aSequence. Returns true if anything was
the first occurrence of aSequence. Returns true if anything was
removed, or false otherwise.
</div>
<a name="Sequence-clipBeforeSeq"></a><b>
Expand Down Expand Up @@ -1258,7 +1258,7 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
Removes occurances of aSequence from the receiver.
Removes occurrences of aSequence from the receiver.
</div>
<a name="Sequence-removeSlice"></a><b>
removeSlice(startIndex, endIndex)
Expand Down Expand Up @@ -1287,7 +1287,7 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
Returns a new Sequence with the first occurance of aSequence
Returns a new Sequence with the first occurrence of aSequence
replaced with anotherSequence in the receiver. If optionalStartIndex is
provided, the search for aSequence begins at that index. Returns self.
</div>
Expand All @@ -1303,7 +1303,7 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
Returns a new Sequence with all occurances of aSequence
Returns a new Sequence with all occurrences of aSequence
replaced with anotherSequence in the receiver. Returns self.
</div>
<a name="Sequence-reverse"></a><b>
Expand Down Expand Up @@ -1414,7 +1414,7 @@ <h1>Io Reference</h1>
<p>
<div class=slotDescription>
Returns the length in number of items (which may or may not
be the number of bytes, depending on the item type) of the receiver. For example,
be the number of bytes, depending on the item type) of the receiver. For example:
<p>
<pre>
"abc" size == 3
Expand Down Expand Up @@ -1547,7 +1547,7 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
Sets each value of the Sequence to the trigonometric tangent of it's value.
Sets each value of the Sequence to the trigonometric tangent of its value.
Returns self.
</div>
<a name="Sequence-tanh"></a><b>
Expand Down Expand Up @@ -1615,7 +1615,7 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
Returns a new Sequence which is the concatination of the arguments.
Returns a new Sequence which is the concatenation of the arguments.
The returned sequence will have the same mutability status as the receiver.
</div>
<a name="Sequence-withStruct"></a><b>
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/Core/Core/System/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h1>Io Reference</h1>
</b>
<p>
<div class=slotDescription>
Returns the list of command line argument strings the program was run with.")
Returns the list of command line argument strings the program was run with.
</div>
<a name="System-daemon"></a><b>
daemon(dontChroot, dontRedirectOutputStreams)
Expand Down

0 comments on commit c5d4649

Please sign in to comment.