Parallel

cats.Parallel$
See theParallel companion trait

Attributes

Companion:
trait
Source:
Parallel.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

ParMapArity

def parMap10[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9) => Z)(implicit p: NonEmptyParallel[M]): M[Z]
def parMap11[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10) => Z)(implicit p: NonEmptyParallel[M]): M[Z]
def parMap12[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11) => Z)(implicit p: NonEmptyParallel[M]): M[Z]
def parMap13[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12) => Z)(implicit p: NonEmptyParallel[M]): M[Z]
def parMap14[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13) => Z)(implicit p: NonEmptyParallel[M]): M[Z]
def parMap15[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14) => Z)(implicit p: NonEmptyParallel[M]): M[Z]
def parMap16[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15) => Z)(implicit p: NonEmptyParallel[M]): M[Z]
def parMap17[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15], m16: M[A16])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16) => Z)(implicit p: NonEmptyParallel[M]): M[Z]
def parMap18[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15], m16: M[A16], m17: M[A17])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17) => Z)(implicit p: NonEmptyParallel[M]): M[Z]
def parMap19[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15], m16: M[A16], m17: M[A17], m18: M[A18])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18) => Z)(implicit p: NonEmptyParallel[M]): M[Z]
def parMap2[M[_], A0, A1, Z](m0: M[A0], m1: M[A1])(f: (A0, A1) => Z)(implicit p: NonEmptyParallel[M]): M[Z]
def parMap20[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15], m16: M[A16], m17: M[A17], m18: M[A18], m19: M[A19])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19) => Z)(implicit p: NonEmptyParallel[M]): M[Z]
def parMap21[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15], m16: M[A16], m17: M[A17], m18: M[A18], m19: M[A19], m20: M[A20])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20) => Z)(implicit p: NonEmptyParallel[M]): M[Z]
def parMap22[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15], m16: M[A16], m17: M[A17], m18: M[A18], m19: M[A19], m20: M[A20], m21: M[A21])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21) => Z)(implicit p: NonEmptyParallel[M]): M[Z]
def parMap3[M[_], A0, A1, A2, Z](m0: M[A0], m1: M[A1], m2: M[A2])(f: (A0, A1, A2) => Z)(implicit p: NonEmptyParallel[M]): M[Z]
def parMap4[M[_], A0, A1, A2, A3, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3])(f: (A0, A1, A2, A3) => Z)(implicit p: NonEmptyParallel[M]): M[Z]
def parMap5[M[_], A0, A1, A2, A3, A4, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4])(f: (A0, A1, A2, A3, A4) => Z)(implicit p: NonEmptyParallel[M]): M[Z]
def parMap6[M[_], A0, A1, A2, A3, A4, A5, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5])(f: (A0, A1, A2, A3, A4, A5) => Z)(implicit p: NonEmptyParallel[M]): M[Z]
def parMap7[M[_], A0, A1, A2, A3, A4, A5, A6, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6])(f: (A0, A1, A2, A3, A4, A5, A6) => Z)(implicit p: NonEmptyParallel[M]): M[Z]
def parMap8[M[_], A0, A1, A2, A3, A4, A5, A6, A7, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7])(f: (A0, A1, A2, A3, A4, A5, A6, A7) => Z)(implicit p: NonEmptyParallel[M]): M[Z]
def parMap9[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8) => Z)(implicit p: NonEmptyParallel[M]): M[Z]

ParTupleArity

def parTuple10[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9)]
def parTuple11[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10)]
def parTuple12[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11)]
def parTuple13[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12)]
def parTuple14[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13)]
def parTuple15[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14)]
def parTuple16[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15)]
def parTuple17[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15], m16: M[A16])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16)]
def parTuple18[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15], m16: M[A16], m17: M[A17])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17)]
def parTuple19[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15], m16: M[A16], m17: M[A17], m18: M[A18])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18)]
def parTuple2[M[_], A0, A1](m0: M[A0], m1: M[A1])(implicit p: NonEmptyParallel[M]): M[(A0, A1)]
def parTuple20[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15], m16: M[A16], m17: M[A17], m18: M[A18], m19: M[A19])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19)]
def parTuple21[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15], m16: M[A16], m17: M[A17], m18: M[A18], m19: M[A19], m20: M[A20])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20)]
def parTuple22[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15], m16: M[A16], m17: M[A17], m18: M[A18], m19: M[A19], m20: M[A20], m21: M[A21])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21)]
def parTuple3[M[_], A0, A1, A2](m0: M[A0], m1: M[A1], m2: M[A2])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2)]
def parTuple4[M[_], A0, A1, A2, A3](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3)]
def parTuple5[M[_], A0, A1, A2, A3, A4](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4)]
def parTuple6[M[_], A0, A1, A2, A3, A4, A5](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5)]
def parTuple7[M[_], A0, A1, A2, A3, A4, A5, A6](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6)]
def parTuple8[M[_], A0, A1, A2, A3, A4, A5, A6, A7](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7)]
def parTuple9[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8])(implicit p: NonEmptyParallel[M]): M[(A0, A1, A2, A3, A4, A5, A6, A7, A8)]

Type members

Types

type Aux[M[_], F0[_]] = Parallel[M] { type F = F0; }

Attributes

Source:
Parallel.scala

Value members

Concrete methods

def applicativeError[M[_], E](implicit P: Parallel[M], E: MonadError[M, E]): ApplicativeError[F, E]

Provides an ApplicativeError[F, E] instance for any F, that has a Parallel.Aux[M, F] and a MonadError[M, E] instance. I.e. if you have a type M[_], that supports parallel composition through type F[_], then you can get ApplicativeError[F, E] from MonadError[M, E].

Provides an ApplicativeError[F, E] instance for any F, that has a Parallel.Aux[M, F] and a MonadError[M, E] instance. I.e. if you have a type M[_], that supports parallel composition through type F[_], then you can get ApplicativeError[F, E] from MonadError[M, E].

Attributes

Source:
Parallel.scala
def apply[M[_], F[_]](implicit P: Aux[M, F]): Aux[M, F]

Attributes

Source:
Parallel.scala
def apply[M[_]](implicit P: Parallel[M], D: DummyImplicit): Aux[M, F]

Attributes

Source:
Parallel.scala
def identity[M[_] : Monad]: Aux[M, M]

A Parallel instance for any type M[_] that supports parallel composition through itself. Can also be used for giving Parallel instances to types that do not support parallel composition, but are required to have an instance of Parallel defined, in which case parallel composition will actually be sequential.

A Parallel instance for any type M[_] that supports parallel composition through itself. Can also be used for giving Parallel instances to types that do not support parallel composition, but are required to have an instance of Parallel defined, in which case parallel composition will actually be sequential.

Attributes

Source:
Parallel.scala
def parAp[M[_], A, B](mf: M[A => B])(ma: M[A])(implicit P: NonEmptyParallel[M]): M[B]

Like Applicative[F].ap, but uses the applicative instance corresponding to the Parallel instance instead.

Like Applicative[F].ap, but uses the applicative instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala
def parAp2[M[_], A, B, Z](ff: M[(A, B) => Z])(ma: M[A], mb: M[B])(implicit P: NonEmptyParallel[M]): M[Z]

Like Applicative[F].ap2, but uses the applicative instance corresponding to the Parallel instance instead.

Like Applicative[F].ap2, but uses the applicative instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala
def parBisequence[T[_, _] : Bitraverse, M[_], A, B](tmamb: T[M[A], M[B]])(implicit evidence$28: Bitraverse[T], P: Parallel[M]): M[T[A, B]]

Like Bitraverse[A].bisequence, but uses the applicative instance corresponding to the Parallel instance instead.

Like Bitraverse[A].bisequence, but uses the applicative instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala
def parBitraverse[T[_, _] : Bitraverse, M[_], A, B, C, D](tab: T[A, B])(f: A => M[C], g: B => M[D])(implicit evidence$27: Bitraverse[T], P: Parallel[M]): M[T[C, D]]

Like Bitraverse[A].bitraverse, but uses the applicative instance corresponding to the Parallel instance instead.

Like Bitraverse[A].bitraverse, but uses the applicative instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala
def parFilterA[T[_], M[_], A](ta: T[A])(f: A => M[Boolean])(implicit T: TraverseFilter[T], P: Parallel[M]): M[T[A]]

Like TraverseFilter#filterA, but uses the applicative instance corresponding to the Parallel instance instead.

Like TraverseFilter#filterA, but uses the applicative instance corresponding to the Parallel instance instead.

Example:

scala> import cats.implicits._
scala> import cats.data._
scala> val list: List[Int] = List(1, 2, 3, 4)
scala> def validate(n: Int): EitherNec[String, Boolean] =
    | if (n > 100) Left(NonEmptyChain.one("Too large"))
    | else Right(n % 3 =!= 0)
scala> list.parFilterA(validate)
res0: EitherNec[String, List[Int]] = Right(List(1, 2, 4))

Attributes

Source:
Parallel.scala
def parFlatSequence[T[_] : FlatMap, M[_], A](tma: T[M[T[A]]])(implicit evidence$5: Traverse[T], evidence$6: FlatMap[T], P: Parallel[M]): M[T[A]]

Like Traverse[A].flatSequence, but uses the applicative instance corresponding to the Parallel instance instead.

Like Traverse[A].flatSequence, but uses the applicative instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala
def parFlatTraverse[T[_] : FlatMap, M[_], A, B](ta: T[A])(f: A => M[T[B]])(implicit evidence$3: Traverse[T], evidence$4: FlatMap[T], P: Parallel[M]): M[T[B]]

Like Traverse[A].flatTraverse, but uses the applicative instance corresponding to the Parallel instance instead.

Like Traverse[A].flatTraverse, but uses the applicative instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala
def parFoldMapA[T[_], M[_], A, B](ta: T[A])(f: A => M[B])(implicit T: Foldable[T], P: Parallel[M], B: Monoid[B]): M[B]

Like Foldable[A].foldMapA, but uses the applicative instance corresponding to the Parallel instance instead.

Like Foldable[A].foldMapA, but uses the applicative instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala
def parLeftSequence[T[_, _] : Bitraverse, M[_], A, B](tmab: T[M[A], B])(implicit evidence$30: Bitraverse[T], P: Parallel[M]): M[T[A, B]]

Like Bitraverse[A].leftSequence, but uses the applicative instance corresponding to the Parallel instance instead.

Like Bitraverse[A].leftSequence, but uses the applicative instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala
def parLeftTraverse[T[_, _] : Bitraverse, M[_], A, B, C](tab: T[A, B])(f: A => M[C])(implicit evidence$29: Bitraverse[T], P: Parallel[M]): M[T[C, B]]

Like Bitraverse[A].leftTraverse, but uses the applicative instance corresponding to the Parallel instance instead.

Like Bitraverse[A].leftTraverse, but uses the applicative instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala

Like NonEmptyTraverse[A].nonEmptyFlatSequence, but uses the apply instance corresponding to the Parallel instance instead.

Like NonEmptyTraverse[A].nonEmptyFlatSequence, but uses the apply instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala
def parNonEmptyFlatTraverse[T[_] : FlatMap, M[_], A, B](ta: T[A])(f: A => M[T[B]])(implicit evidence$21: NonEmptyTraverse[T], evidence$22: FlatMap[T], P: NonEmptyParallel[M]): M[T[B]]

Like NonEmptyTraverse[A].nonEmptyFlatTraverse, but uses the apply instance corresponding to the Parallel instance instead.

Like NonEmptyTraverse[A].nonEmptyFlatTraverse, but uses the apply instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala

Like NonEmptyTraverse[A].nonEmptySequence, but uses the apply instance corresponding to the Parallel instance instead.

Like NonEmptyTraverse[A].nonEmptySequence, but uses the apply instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala
def parNonEmptySequence_[T[_] : Reducible, M[_], A](tma: T[M[A]])(implicit evidence$25: Reducible[T], P: NonEmptyParallel[M]): M[Unit]

Like Reducible[A].nonEmptySequence_, but uses the apply instance corresponding to the Parallel instance instead.

Like Reducible[A].nonEmptySequence_, but uses the apply instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala
def parNonEmptyTraverse[T[_] : NonEmptyTraverse, M[_], A, B](ta: T[A])(f: A => M[B])(implicit evidence$20: NonEmptyTraverse[T], P: NonEmptyParallel[M]): M[T[B]]

Like NonEmptyTraverse[A].nonEmptyTraverse, but uses the apply instance corresponding to the Parallel instance instead.

Like NonEmptyTraverse[A].nonEmptyTraverse, but uses the apply instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala
def parNonEmptyTraverse_[T[_] : Reducible, M[_], A, B](ta: T[A])(f: A => M[B])(implicit evidence$26: Reducible[T], P: NonEmptyParallel[M]): M[Unit]

Like Reducible[A].nonEmptyTraverse_, but uses the apply instance corresponding to the Parallel instance instead.

Like Reducible[A].nonEmptyTraverse_, but uses the apply instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala
def parProduct[M[_], A, B](ma: M[A], mb: M[B])(implicit P: NonEmptyParallel[M]): M[(A, B)]

Like Applicative[F].product, but uses the applicative instance corresponding to the Parallel instance instead.

Like Applicative[F].product, but uses the applicative instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala
def parReduceMapA[T[_], M[_], A, B](ta: T[A])(f: A => M[B])(implicit T: Reducible[T], P: NonEmptyParallel[M], B: Semigroup[B]): M[B]

Like Reducible[A].reduceMapA, but uses the apply instance corresponding to the NonEmptyParallel instance instead.

Like Reducible[A].reduceMapA, but uses the apply instance corresponding to the NonEmptyParallel instance instead.

Attributes

Source:
Parallel.scala
def parReplicateA[M[_], A](n: Int, ma: M[A])(implicit P: Parallel[M]): M[List[A]]

Like Applicative[F].replicateA, but uses the apply instance corresponding to the Parallel instance instead.

Like Applicative[F].replicateA, but uses the apply instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala
def parReplicateA_[M[_], A](n: Int, ma: M[A])(implicit P: Parallel[M]): M[Unit]

Like Applicative[F].replicateA_, but uses the apply instance corresponding to the Parallel instance instead.

Like Applicative[F].replicateA_, but uses the apply instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala
def parSequence[T[_] : Traverse, M[_], A](tma: T[M[A]])(implicit evidence$1: Traverse[T], P: Parallel[M]): M[T[A]]

Like Traverse[A].sequence, but uses the applicative instance corresponding to the Parallel instance instead.

Like Traverse[A].sequence, but uses the applicative instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala
def parSequenceFilter[T[_], M[_], A](ta: T[M[Option[A]]])(implicit T: TraverseFilter[T], P: Parallel[M]): M[T[A]]

Like TraverseFilter#sequenceFilter, but uses the applicative instance corresponding to the Parallel instance instead.

Like TraverseFilter#sequenceFilter, but uses the applicative instance corresponding to the Parallel instance instead.

Example:

scala> import cats.implicits._
scala> import cats.data._
scala> val list: List[EitherNec[String, Option[Int]]] = List(Left(NonEmptyChain.one("Error")), Left(NonEmptyChain.one("Warning!")))
scala> list.parSequenceFilter
res0: EitherNec[String, List[Int]] = Left(Chain(Error, Warning!))

Attributes

Source:
Parallel.scala
def parSequence_[T[_] : Foldable, M[_], A](tma: T[M[A]])(implicit evidence$7: Foldable[T], P: Parallel[M]): M[Unit]

Like Foldable[A].sequence_, but uses the applicative instance corresponding to the Parallel instance instead.

Like Foldable[A].sequence_, but uses the applicative instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala
def parTraverse[T[_] : Traverse, M[_], A, B](ta: T[A])(f: A => M[B])(implicit evidence$2: Traverse[T], P: Parallel[M]): M[T[B]]

Like Traverse[A].traverse, but uses the applicative instance corresponding to the Parallel instance instead.

Like Traverse[A].traverse, but uses the applicative instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala
def parTraverseFilter[T[_], M[_], A, B](ta: T[A])(f: A => M[Option[B]])(implicit T: TraverseFilter[T], P: Parallel[M]): M[T[B]]

Like TraverseFilter#traverseFilter, but uses the applicative instance corresponding to the Parallel instance instead.

Like TraverseFilter#traverseFilter, but uses the applicative instance corresponding to the Parallel instance instead.

Example:

scala> import cats.implicits._
scala> import cats.data._
scala> val list: List[Int] = List(1, 2, 3, 4)
scala> def validate(n: Int): EitherNec[String, Option[Int]] =
    | if (n > 100) Left(NonEmptyChain.one("Too large"))
    | else if (n % 3 =!= 0) Right(Some(n))
    | else Right(None)
scala> list.parTraverseFilter(validate)
res0: EitherNec[String, List[Int]] = Right(List(1, 2, 4))

Attributes

Source:
Parallel.scala
def parTraverse_[T[_] : Foldable, M[_], A, B](ta: T[A])(f: A => M[B])(implicit evidence$8: Foldable[T], P: Parallel[M]): M[Unit]

Like Foldable[A].traverse_, but uses the applicative instance corresponding to the Parallel instance instead.

Like Foldable[A].traverse_, but uses the applicative instance corresponding to the Parallel instance instead.

Attributes

Source:
Parallel.scala

Attributes

Source:
Parallel.scala

Attributes

Source:
Parallel.scala

Inherited methods

def parFlatMap10[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]
def parFlatMap11[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]
def parFlatMap12[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]
def parFlatMap13[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]
def parFlatMap14[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]
def parFlatMap15[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]
def parFlatMap16[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]
def parFlatMap17[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15], m16: M[A16])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]
def parFlatMap18[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15], m16: M[A16], m17: M[A17])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]
def parFlatMap19[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15], m16: M[A16], m17: M[A17], m18: M[A18])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]
def parFlatMap2[M[_], A0, A1, Z](m0: M[A0], m1: M[A1])(f: (A0, A1) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]
def parFlatMap20[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15], m16: M[A16], m17: M[A17], m18: M[A18], m19: M[A19])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]
def parFlatMap21[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15], m16: M[A16], m17: M[A17], m18: M[A18], m19: M[A19], m20: M[A20])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]
def parFlatMap22[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8], m9: M[A9], m10: M[A10], m11: M[A11], m12: M[A12], m13: M[A13], m14: M[A14], m15: M[A15], m16: M[A16], m17: M[A17], m18: M[A18], m19: M[A19], m20: M[A20], m21: M[A21])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, A13, A14, A15, A16, A17, A18, A19, A20, A21) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]
def parFlatMap3[M[_], A0, A1, A2, Z](m0: M[A0], m1: M[A1], m2: M[A2])(f: (A0, A1, A2) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]
def parFlatMap4[M[_], A0, A1, A2, A3, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3])(f: (A0, A1, A2, A3) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]
def parFlatMap5[M[_], A0, A1, A2, A3, A4, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4])(f: (A0, A1, A2, A3, A4) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]
def parFlatMap6[M[_], A0, A1, A2, A3, A4, A5, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5])(f: (A0, A1, A2, A3, A4, A5) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]
def parFlatMap7[M[_], A0, A1, A2, A3, A4, A5, A6, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6])(f: (A0, A1, A2, A3, A4, A5, A6) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]
def parFlatMap8[M[_], A0, A1, A2, A3, A4, A5, A6, A7, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7])(f: (A0, A1, A2, A3, A4, A5, A6, A7) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]
def parFlatMap9[M[_], A0, A1, A2, A3, A4, A5, A6, A7, A8, Z](m0: M[A0], m1: M[A1], m2: M[A2], m3: M[A3], m4: M[A4], m5: M[A5], m6: M[A6], m7: M[A7], m8: M[A8])(f: (A0, A1, A2, A3, A4, A5, A6, A7, A8) => M[Z])(implicit p: NonEmptyParallel[M]): M[Z]