Joel
10/02/2020, 8:57 PMbbaldino
10/02/2020, 8:58 PMNir
10/02/2020, 9:12 PMNir
10/02/2020, 9:12 PMNir
10/02/2020, 9:13 PMNir
10/02/2020, 9:13 PMJoel
10/02/2020, 9:13 PMNir
10/02/2020, 9:13 PMnanodeath
10/02/2020, 9:14 PMNir
10/02/2020, 9:14 PMNir
10/02/2020, 9:15 PMnanodeath
10/02/2020, 9:19 PMbbaldino
10/02/2020, 9:23 PMFoo
, so I can effectively add support for taking a new type (and providing a compatibly-typed result).bbaldino
10/02/2020, 9:23 PMbbaldino
10/02/2020, 9:24 PMNir
10/02/2020, 9:24 PMNir
10/02/2020, 9:24 PMbbaldino
10/02/2020, 9:25 PMNir
10/02/2020, 9:25 PMNir
10/02/2020, 9:25 PMbbaldino
10/02/2020, 9:25 PMNir
10/02/2020, 9:26 PMbbaldino
10/02/2020, 9:26 PMNir
10/02/2020, 9:26 PMNir
10/02/2020, 9:26 PMNir
10/02/2020, 9:26 PMbbaldino
10/02/2020, 9:27 PMNir
10/02/2020, 9:27 PMNir
10/02/2020, 9:27 PMNir
10/02/2020, 9:28 PMbbaldino
10/02/2020, 9:28 PMNir
10/02/2020, 9:28 PMbbaldino
10/02/2020, 9:28 PMNir
10/02/2020, 9:28 PMbbaldino
10/02/2020, 9:29 PMNir
10/02/2020, 9:29 PMNir
10/02/2020, 9:29 PMNir
10/02/2020, 9:29 PMbbaldino
10/02/2020, 9:30 PMFoo
is defined that creates the Foo
instance to "kick off" the dsl, basically. So the using lib would have to rewrite that as well.nanodeath
10/02/2020, 9:30 PMclass MyExtensions(private val foo: Foo) {
fun String.someOtherStringExtension() { /* use foo maybe */ }
}
and used thatnanodeath
10/02/2020, 9:31 PMwith(MyExtensions(this /* Foo */)){
bbaldino
10/02/2020, 9:32 PMnanodeath
10/02/2020, 9:32 PMbbaldino
10/02/2020, 9:32 PMbbaldino
10/02/2020, 9:33 PMNir
10/02/2020, 9:35 PMNir
10/02/2020, 9:35 PMNir
10/02/2020, 9:36 PMNir
10/02/2020, 9:37 PMbbaldino
10/02/2020, 9:37 PM