
Tiny library enabling tuple creation with infix syntax for concise, readable code. Supports up to seven elements, enhancing tuple manipulation simplicity in Kotlin projects.
Moved. This code now lives in KGround as the
:tuplekmodule. This repository is archived and no longer built or released. The artifact id is unchanged --pl.mareklangiewicz:tuplekstill works -- but new versions come from KGround's release line, not the old 0.0.x one. Depending onkgroundis enough, since it api-exposestuplek.
Tiny tuples lib for Kotlin with cool infix syntax.
Stolen from Jesse Wilson gist:
fun tuplek() {
println("a" to "b")
println("a" to "b" tre "c")
println("a" to "b" tre "c" fo "d")
println("a" to "b" tre "c" fo "d" fi "e")
println("a" to "b" tre "c" fo "d" fi "e" sik "f")
println("a" to "b" tre "c" fo "d" fi "e" sik "f" seva "g")
}Moved. This code now lives in KGround as the
:tuplekmodule. This repository is archived and no longer built or released. The artifact id is unchanged --pl.mareklangiewicz:tuplekstill works -- but new versions come from KGround's release line, not the old 0.0.x one. Depending onkgroundis enough, since it api-exposestuplek.
Tiny tuples lib for Kotlin with cool infix syntax.
Stolen from Jesse Wilson gist:
fun tuplek() {
println("a" to "b")
println("a" to "b" tre "c")
println("a" to "b" tre "c" fo "d")
println("a" to "b" tre "c" fo "d" fi "e")
println("a" to "b" tre "c" fo "d" fi "e" sik "f")
println("a" to "b" tre "c" fo "d" fi "e" sik "f" seva "g")
}