-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zio-prelude v1.0.0 - Roadmap #1359
Comments
Looks good to me! Thanks for the initiative. |
There is only one thing that comes to mind but I'm not sure whether it's even possible without a very major refactoring. The trait ForEach[F[+_]] extends Covariant[F] This means that we can't provide |
@jdegoes Any thoughts about @kyri-petrou's |
PS: I don't think we should try to address this for the v1 release. I just thought to point it out in case someone might have a simple solution in mind that wouldn't require a huge rewrite of the typeclass hierarchies |
@sideeffffect @kyri-petrou @jdegoes @ghostdogpr, please add anything you think we should fix/improve/change before releasing
v1.0.0
. Feel free to disagree with my points, of course 🙂List of things to fix/improve/change before to release
v1.0.0
:<*
&*>
).In ZIO,
zio(v0) *> zio(v1)
meanszio(v0).flatMap(_ => zio(v1))
andzio(v0) <* zio(v1)
meanszio(v0).flatMap(vv0 => zio(v1).as(vv0))
In zio-prelude, the
AssociativeBothCovariantOps
add these operators as aliases forzipLeft
andzipRight
ZValidation.zipPar
(and all the associated variants) are not parallelizing anything. They need to be renamed.zip
.<&
&&>
).in ZIO,
a &> b
mean thata
andb
will be forked.In zio-prelude
ZValidation
, they are not forking anything and just aliases for.zip
(Related to point 2 of this ticket)Do we have the same issue anywhere else in zio-prelude? 🤔
The text was updated successfully, but these errors were encountered: