follow-up for #2768

This commit is contained in:
ven 2018-02-28 11:44:53 +01:00 committed by GitHub
parent 52a4a4ac95
commit 03b9fce5fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -276,7 +276,8 @@ r foreach println
// NB: Scala is quite lenient when it comes to dots and brackets - study the
// rules separately. This helps write DSLs and APIs that read like English
// Why doesn't `println` need any parameters here? Stay tuned for Functional Programming below!
// Why doesn't `println` need any parameters here?
// Stay tuned for first-class functions in the Functional Programming section below!
(5 to 1 by -1) foreach (println)
// A while loop