fixed site sample to be more expressive

This commit is contained in:
Sergey Chernov 2026-02-17 22:34:56 +03:00
parent 74d911e837
commit 2d4ae0d98b
2 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ class StdlibTest {
items.filter { it > 0 }.map { it * it }
}
val data: List<Int> = [-2, -1, 0, 1, 2]
val data = [-2, -1, 0, 1, 2]
println("Processed: " + process(data))
""".trimIndent())

View File

@ -57,7 +57,7 @@ fun TryLyngPage(route: String) {
items.filter { it > 0 }.map { it * it }
}
val data: List<Int> = [-2, -1, 0, 1, 2]
val data = [-2, -1, 0, 1, 2]
println("Processed: " + process(data))
// Try changing data or adding Real numbers!