raulraja
06/04/2020, 9:58 AMPhBastiani
06/04/2020, 12:41 PMPhBastiani
06/04/2020, 1:01 PMsimon.vergauwen
06/04/2020, 1:03 PMsimon.vergauwen
06/04/2020, 1:03 PMIO
expect for the wrappingraulraja
06/04/2020, 1:46 PMPhBastiani
06/05/2020, 2:51 PMMyClass<F> : Async<F> {
fun <A> myfun(use: suspend MonadThrowSyntax<F>.(MyDataClass) -> A): Kind<F, A> = fx. ...
}
If I understood correctly, with the new DSL, I can write
MyClass {}
suspend fun <A> MyClass.myfun(use: suspend (MyDataClass) -> A): A = ...
or
suspend fun <A> MyClass.myfun(use: suspend (MyDataClass) -> A): Either<MyError, A> = ...
}
Exact ?simon.vergauwen
06/05/2020, 3:14 PMsimon.vergauwen
06/05/2020, 3:15 PMREADME
in the PR? It covers most of these topics theresimon.vergauwen
06/05/2020, 3:15 PMREADME
will become the Quick start
section for the library. So all information you think is missing I’d love to know, so I can write it down for future reference when working on the docs 😉PhBastiani
06/05/2020, 3:18 PM