dotty-cps-async
dotty-cps-async copied to clipboard
experimental CPS transformer for dotty
Now we have. a few issues in test:compile with -Ycheck:all enabled , among them - type failures in some tests during typing: ``` java.lang.AssertionError: assertion failed: non-empty constraint at end...
Hi, I've found bug in Scala compiler and/or this macro. I'd love to post it to dotty repo, but unfortunately I cannot minimize it. Github repo: https://github.com/andrzejressel/scala-3-unresolved-symbols Example code: ####...
Track documentation from the point of novice and rewrite parts, which are hard to follow. // And not forget about experienced developers' paths, who will not want to read 'Monad-101'...
use as monad Try[List[_]] (or just List) and implement some exploring space algorithms, such as 8 eight queens puzzle, or knight tour in the monad, to have an example, which...
It would be great to have chainable methods for awaiting a value inside an async block like this: ```sacla async { Future(1).await + Future(2).await } ``` I find it a...
It looks like master branch is on Scala Native 0.5 but no binaries have been released
I am currently working on https://github.com/getkyo/kyo/issues/1209, and I struggle to have AsyncShift working on `Result[?, ?]` or `Maybe[?]`. For this code: ```scala opaque type Maybe[+A] >: (Absent | Present[A]) =...
```scala val dbIO = async[ConnectionIO] { GeneralPracticeUserPermission.InviteUser.check(auth.userId, req.generalPracticeId).await val invitedAt = GeneralPracticeUserInvitedAt.nowIO.toConnectionIO.await /** run here causes the exception, it's nonsense, but the compiler should say that it's not awaitable. *...