We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43b0c62 commit e3af6d2Copy full SHA for e3af6d2
src/main/scala/stdlib/Lists.scala
@@ -160,7 +160,7 @@ object Lists extends FlatSpec with Matchers with org.scalaexercises.definitions.
160
a should be(res0)
161
}
162
163
- /** You can add elements to a List and get a new List:
+ /** You can prepend elements to a List to get a new List:
164
*/
165
def addElementsLists(res0: List[Int]) {
166
val a = List(1, 3, 5, 7)
0 commit comments