raulraja
06/04/2020, 9:58 AMPhBastiani
06/04/2020, 12:41 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 PMREADME
in the PR? It covers most of these topics thereREADME
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