raulraja
11/14/2020, 5:43 PMstojan
11/15/2020, 11:45 AMfun interface Plus<A> {
infix operator fun A.plus(other: A): A
}
this is what Semigroup
would look like?suspend fun listComputationTest(): List<String> =
list {
val a = listOf(1, 2, 3)()
val b = listOf("a", "b", "c")()
"$a$b"
}
would ALL computational blocks require suspend?
right now either
doesn't need that AFIKaballano
11/15/2020, 1:36 PMraulraja
11/15/2020, 4:27 PMstojan
11/15/2020, 5:35 PMraulraja
11/16/2020, 8:04 AM