mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-29 01:21:07 +02:00
removing whitespace all over
This commit is contained in:
@@ -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 );
|
||||
|
Reference in New Issue
Block a user