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 d0ae7fb commit b4bb8ceCopy full SHA for b4bb8ce
README.md
@@ -122,13 +122,13 @@ To solve these problems we've added `withCached` function
122
```kotlin
123
withSpark {
124
dsOf(1, 2, 3, 4, 5)
125
- .map { it to (it + 2) }
+ .map { tupleOf(it, it + 2) }
126
.withCached {
127
showDS()
128
129
- filter { it.first % 2 == 0 }.showDS()
+ filter { it._1 % 2 == 0 }.showDS()
130
}
131
- .map { c(it.first, it.second, (it.first + it.second) * 2) }
+ .map { tupleOf(it._1, it._2, (it._1 + it._2) * 2) }
132
.show()
133
134
```
0 commit comments