Ruslan Shevchenko
Ruslan Shevchenko
@samadpls But how is this related to the dotty-cps-async project? The idea of this task is to receive a nice example of the applicability of the direct style (i.e. using...
Now - not. From other time, extending to remote case was planned from the beginning, so infrastructure is 'remote-aware'. (It is needed to write layer which will hold functions, waiting...
After scala-native-1.14 - better, but looks like all munit should be recompiled ``` [1] rssh@rssh4> sbt catsEffectNative/test ~/work/oss/dotty-cps-async-connect [info] welcome to sbt 1.9.0 (Homebrew Java 18.0.2.1) [info] loading global plugins...
When disabling dotty-cps-async:65 / global exexution context - works. Need to research
Btw, currently, in cps-async-connect resources is supported in two ways: 1. using an extension to Resource.type, such as Resource mimic scala-core 'Using' ``` Resouce.using(r1,r2,r3) { .... } ``` This can...
An alternative variant is to introduce DataLenses API:
basic implementation sketch in https://github.com/rssh/scalus/tree/typed-sir (WIP, not yet compiled)
Yes, it (postfix await) makes sense. Two questions - can this break 'cps-async-effect' ? (they do not reexport imports, but sometimes compiler leak imports, don't know why exactly. Will. recheck....
Oops -- looks like in 3.5.0 we can't define an extension with the same name as a method, because the compiler begins to understand prefix invocation as an overloaded application....
Hmm, maybe we can use only extensions instead ...yes, this works