lyngweb: add Maven publishing configuration, range iterability tests, and minor editor refinements
This commit is contained in:
1 parent
faead76688
commit
f4375ad627
4 files changed
+41
-7
No files matched your search
@@ -74,9 +74,11 @@ fun HomePage() {
|
||||
// Code sample
|
||||
val code = """
|
||||
// Create, transform, and verify — the Lyng way
|
||||
val data = 1..5
|
||||
val evens = data.filter { it % 2 == 0 }.map { it * it }
|
||||
assertEquals([4, 16], evens)
|
||||
import lyng.stdlib
|
||||
|
||||
val data = 1..5 // or [1,2,3,4,5]
|
||||
val evens2 = data.filter { it % 2 == 0 }.map { it * it }
|
||||
assertEquals([4, 16], evens2)
|
||||
>>> void
|
||||
""".trimIndent()
|
||||
|
||||
|
||||
Reference in new issue
Block a user