In PureScript there is a Parallel type class, which introduces the idea of a Monad that supports parallel composition with a related Applicative instance. This could work for IO in cats-effect and a theoretical ParIO, but also for Either and Validated.
We could also include instances for Kleisli (ReaderT) and WriterT.
I think it could really be useful, especially with regards to parTraverse.
In PureScript there is a
Paralleltype class, which introduces the idea of a Monad that supports parallel composition with a related Applicative instance. This could work forIOin cats-effect and a theoreticalParIO, but also forEitherandValidated.We could also include instances for Kleisli (ReaderT) and WriterT.
I think it could really be useful, especially with regards to
parTraverse.