avocADO
avocADO copied to clipboard
Safe compile-time parallelization of for-comprehensions for Scala 3
## About this PR 📦 Updates * [org.scala-native:nscplugin](https://github.com/scala-native/scala-native) * [org.scala-native:sbt-scala-native](https://github.com/scala-native/scala-native) from `0.4.17` to `0.5.1` 📜 [GitHub Release Notes](https://github.com/scala-native/scala-native/releases/tag/v0.5.1) - [Version Diff](https://github.com/scala-native/scala-native/compare/v0.4.17...v0.5.1) ## Usage ✅ **Please merge!** I'll automatically update this...
Libraries to consider: - [x] cats-effect 2.x - [x] zio 1.x - [ ] Monix - [x] zio-query - [ ] scalaz-effect
Currently `avocADO` parallelizes the following comprehension: ```scala for { a
As mentioned here: https://contributors.scala-lang.org/t/for-comprehension-requires-withfilter-to-destructure-tuples/5953/3 `-source:future` makes some changes to desugaring of `for` comprehensions. Specifically e.g. desugaring of classes/tuples with binds do not use `withFilter` now.
For trivial types `AvocADO` should be derivable. Types that should be derivable: - [ ] Option - [ ] Seq - [ ] List - [ ] [L] : Either[L,...
`avocADO` should be able to correctly handle `if` guards in `for` comprehensions. e.g. ```scala for { a
## About this PR 📦 Updates [dev.zio:zio-query](https://github.com/zio/zio-query) from `0.7.3` to `0.7.4` 📜 [GitHub Release Notes](https://github.com/zio/zio-query/releases/tag/v0.7.4) - [Version Diff](https://github.com/zio/zio-query/compare/v0.7.3...v0.7.4) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...
## About this PR 📦 Updates [dev.zio:zio](https://github.com/zio/zio) from `2.1.5` to `2.1.6` 📜 [GitHub Release Notes](https://github.com/zio/zio/releases/tag/v2.1.6) - [Version Diff](https://github.com/zio/zio/compare/v2.1.5...v2.1.6) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...
Calling `dropUnusedMap` with a `for` comprehension as an argument potentially removed an unused `map` call at the end of the desugared `for`, which allows for better stack-safety in FP Scala...
`avocADO` should support SIP-62 changes (see implementation here: https://github.com/scala/scala3/pull/20522)