1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-27 08:37:36 +02:00

Merge pull request #1401 from oylenshpeegul/patch-1

Typo: "thought of" not "though of"
This commit is contained in:
ven
2015-10-08 22:48:22 +02:00

View File

@@ -633,7 +633,7 @@ writeln( toThisArray );
// 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.