bloder
11/07/2019, 3:37 AMsimon.vergauwen
11/07/2019, 7:51 AMfun doSomething(TT: Traverse<ForIO> = `with`): IO<Unit> =
listOf(1, 2, 3).traverse { i ->
IO.effect { println("Hello $i") }
}.unit()
rcd27
11/07/2019, 8:35 AMarrow-kt
syntax? For example now all is wrapped in Kind<T,V>
type. Will it "unwrap" to T<V>
?simon.vergauwen
11/07/2019, 8:37 AMT<V>
instead of Kind<ForT, V>
but it doesn’t require you to do so 🙂simon.vergauwen
11/07/2019, 8:38 AMsimon.vergauwen
11/07/2019, 8:43 AMKind<ForT, V>
== T<V>
but the generated code is the same as it is now. We can hide it from the user using a compiler & IDE plugin.
So we basically put some syntactic sugar on top of the current impl.bloder
11/07/2019, 12:41 PMraulraja
11/07/2019, 12:47 PMbloder
11/07/2019, 12:54 PMBob Glamm
11/08/2019, 2:59 AMimplicit TT: Traverse<IO>
😄 🧌