typelevel / cats-effect-cps

An incubator project for async/await syntax support for Cats Effect
Apache License 2.0
94 stars 12 forks source link

dotty-cps-async 0.9.20 #203

Closed lhns closed 7 months ago

lhns commented 8 months ago

Hi! I ran into a few edge cases with the macros of dotty-cps-async 0.9.16 which seem to be fixed in the newer versions so I updated it to 0.9.20. I also split up the type classes to make this work with Monads, Try, etc. (Fixes #75 ) This PR will probably break bin compat because I removed the auto coloring stuff which is not available anymore in the newer versions of dotty-cps-async.

djspiewak commented 7 months ago

Thank you for tackling this! I've been putting it off for quite a while

lhns commented 7 months ago

I am still a bit new to the new scala 3 implicit resolution rules but they seem to work pretty well without needing the LowPriorityImplicits pattern.