Skip to content

Commit 01affa2

Browse files
authored
Link out to wiki page for the concept of a "generator"
The term "generator" is used in the documentation, but is never defined.
1 parent 2ab2130 commit 01affa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/scala3-book/control-structures.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ for i <- ints do println(i)
236236
{% endtabs %}
237237

238238

239-
The code `i <- ints` is referred to as a _generator_.
239+
The code `i <- ints` is referred to as a [_generator_](https://en.wikipedia.org/wiki/Generator_(computer_programming)).
240240

241241
This is what the result looks like in the Scala REPL:
242242

0 commit comments

Comments
 (0)