summaryrefslogtreecommitdiffhomepage
path: root/chapel.html.markdown
diff options
context:
space:
mode:
authorVojta Svoboda <vojtasvoboda.cz@gmail.com>2015-10-08 22:15:32 +0200
committerVojta Svoboda <vojtasvoboda.cz@gmail.com>2015-10-08 22:15:32 +0200
commit838701b917bb914f3483b6e9233920a752d20f82 (patch)
treea430654109b2f8e6a47eddf057f86d73630314a7 /chapel.html.markdown
parent4d619e9b0fc4a061fa720b47b22068c8661e9be6 (diff)
parentabd7444f9e5343f597b561a69297122142881fc8 (diff)
Merge branch 'master' into translation/json-cs
Diffstat (limited to 'chapel.html.markdown')
-rw-r--r--chapel.html.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/chapel.html.markdown b/chapel.html.markdown
index 02a96b04..e20be998 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 );