TupleK
0.0.22indexedTiny library enabling tuple creation with infix syntax for concise, readable code. Supports up to seven elements, enhancing tuple manipulation simplicity in Kotlin projects.
0
Stars
3
Used by
dependents
—
Health
/ 100
Tiny library enabling tuple creation with infix syntax for concise, readable code. Supports up to seven elements, enhancing tuple manipulation simplicity in Kotlin projects.
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")
}
Surfaced from shared tags and platforms — no rankings paid for.