diff options
Diffstat (limited to 'chapel.html.markdown')
| -rw-r--r-- | chapel.html.markdown | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/chapel.html.markdown b/chapel.html.markdown index 02a96b04..9c1daf40 100644 --- a/chapel.html.markdown +++ b/chapel.html.markdown @@ -307,7 +307,7 @@ var stringSet: domain(string); // empty set of strings  stringSet += "a";  stringSet += "b";  stringSet += "c"; -stringSet += "a"; // Redundant add "a"   +stringSet += "a"; // Redundant add "a"  stringSet -= "c"; // Remove "c"  writeln( stringSet ); @@ -524,12 +524,12 @@ genericProc( 1.0+2.0i, 3.0+4.0i );  // The param modifier on the arg is used to enforce this constraint.  proc whereProc( param N : int ): void   where ( N > 0 ) { -  writeln( "N is greater than 0" );   +  writeln( "N is greater than 0" );  }  proc whereProc( param N : int ): void   where ( N < 0 ) { -  writeln( "N is less than 0" );   +  writeln( "N is less than 0" );  }  whereProc( 10 ); @@ -629,11 +629,11 @@ for (i, j) in zip( toThisArray.domain, -100..#5 ){  }  writeln( toThisArray ); -// This is all very important in undestanding why the statement +// This is all very important in understanding why the statement  // var iterArray : [1..10] int = [ i in 1..10 ] if ( i % 2 == 1 ) then j;  // exhibits a runtime error.  // Even though the domain of the array and the loop-expression are -// the same size, the body of the expression can be though of as an iterator. +// the same size, the body of the expression can be thought of as an iterator.  // Because iterators can yield nothing, that iterator yields a different number  // of things than the domain of the array or loop, which is not allowed. @@ -914,7 +914,7 @@ proc main(){    [ val in myBigArray ] val = 1 / val; // Parallel operation    // Atomic variables, common to many languages, are ones whose operations -  // occur uninterupted. Multiple threads can both modify atomic variables +  // occur uninterrupted. Multiple threads can both modify atomic variables    // and can know that their values are safe.    // Chapel atomic variables can be of type bool, int, uint, and real.    var uranium: atomic int; @@ -1066,7 +1066,7 @@ The more information you give the Chapel development team about issues you encou  Feel free to email the team and other developers through the [sourceforge email lists](https://sourceforge.net/p/chapel/mailman).  If you're really interested in the development of the compiler or contributing to the project, -[check out the master Github repository](https://github.com/chapel-lang/chapel). +[check out the master GitHub repository](https://github.com/chapel-lang/chapel).  It is under the [Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0).  Installing the Compiler | 
