Packages

t

izumi.functional.bio

BIOBracket3

trait BIOBracket3[F[-_, +_, +_]] extends BIOError3[F]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BIOBracket3
  2. BIOError3
  3. BIOMonad3
  4. BIOApplicativeError3
  5. BIOBifunctor3
  6. BIOGuarantee3
  7. BIOApplicative3
  8. BIOFunctor3
  9. BIORootBifunctor
  10. BIORoot
  11. PredefinedHelper
  12. DivergenceHelper
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Divergence = Nondivergent
    Definition Classes
    DivergenceHelper
  2. type IsPredefined = NotPredefined
    Definition Classes
    PredefinedHelper

Abstract Value Members

  1. abstract def bracketCase[R, E, A, B](acquire: F[R, E, A])(release: (A, BIOExit[E, B]) => F[R, Nothing, Unit])(use: (A) => F[R, E, B]): F[R, E, B]
  2. abstract def catchAll[R, E, A, E2](r: F[R, E, A])(f: (E) => F[R, E2, A]): F[R, E2, A]
    Definition Classes
    BIOError3
  3. abstract def catchSome[R, E, A, E1 >: E](r: F[R, E, A])(f: PartialFunction[E, F[R, E1, A]]): F[R, E1, A]
    Definition Classes
    BIOError3
  4. abstract def fail[E](v: => E): F[Any, E, Nothing]
    Definition Classes
    BIOApplicativeError3
  5. abstract def flatMap[R, E, A, B](r: F[R, E, A])(f: (A) => F[R, E, B]): F[R, E, B]
    Definition Classes
    BIOMonad3
  6. abstract def fromEither[E, V](effect: => Either[E, V]): F[Any, E, V]
    Definition Classes
    BIOApplicativeError3
  7. abstract def fromOption[E, A](errorOnNone: => E)(effect: => Option[A]): F[Any, E, A]
    Definition Classes
    BIOApplicativeError3
  8. abstract def fromTry[A](effect: => Try[A]): F[Any, Throwable, A]
    Definition Classes
    BIOApplicativeError3
  9. abstract def pure[A](a: A): F[Any, Nothing, A]
    Definition Classes
    BIOApplicative3

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def *>[R, E, A, B](f: F[R, E, A], next: => F[R, E, B]): F[R, E, B]

    execute two operations in order, return result of second operation

    execute two operations in order, return result of second operation

    Definition Classes
    BIOMonad3BIOApplicative3
  4. def <*[R, E, A, B](f: F[R, E, A], next: => F[R, E, B]): F[R, E, A]

    execute two operations in order, same as *>, but return result of first operation

    execute two operations in order, same as *>, but return result of first operation

    Definition Classes
    BIOMonad3BIOApplicative3
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def InnerF: BIOFunctor3[F]
    Definition Classes
    BIOApplicativeError3BIOBifunctor3
  7. def as[R, E, A, B](r: F[R, E, A])(v: => B): F[R, E, B]
    Definition Classes
    BIOFunctor3
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def attempt[R, E, A](r: F[R, E, A]): F[R, Nothing, Either[E, A]]
    Definition Classes
    BIOError3
  10. def bimap[R, E, A, E2, B](r: F[R, E, A])(f: (E) => E2, g: (A) => B): F[R, E2, B]
    Definition Classes
    BIOError3BIOBifunctor3
  11. def bracket[R, E, A, B](acquire: F[R, E, A])(release: (A) => F[R, Nothing, Unit])(use: (A) => F[R, E, B]): F[R, E, B]
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. def flatten[R, E, A](r: F[R, E, F[R, E, A]]): F[R, E, A]
    Definition Classes
    BIOMonad3
  17. def flip[R, E, A](r: F[R, E, A]): F[R, A, E]
    Definition Classes
    BIOError3
  18. final def forever[R, E, A](r: F[R, E, A]): F[R, E, Nothing]
    Definition Classes
    BIOApplicative3
    Annotations
    @inline()
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def guarantee[R, E, A](f: F[R, E, A], cleanup: F[R, Nothing, Unit]): F[R, E, A]
    Definition Classes
    BIOBracket3BIOGuarantee3
  21. def guaranteeCase[R, E, A](f: F[R, E, A], cleanup: (BIOExit[E, A]) => F[R, Nothing, Unit]): F[R, E, A]
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final def ifThenElse[R, E, E1, A](cond: F[R, E, Boolean])(ifTrue: F[R, E1, A], ifFalse: F[R, E1, A])(implicit ev: <:<[E, E1]): F[R, E1, A]
    Definition Classes
    BIOMonad3
    Annotations
    @inline()
  24. final def ifThenElse[R, E, A](cond: Boolean)(ifTrue: F[R, E, A], ifFalse: F[R, E, A]): F[R, E, A]
    Definition Classes
    BIOApplicative3
    Annotations
    @inline()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def leftFlatMap[R, E, A, E2](r: F[R, E, A])(f: (E) => F[R, Nothing, E2]): F[R, E2, A]
    Definition Classes
    BIOError3
  27. def leftMap[R, E, A, E2](r: F[R, E, A])(f: (E) => E2): F[R, E2, A]
    Definition Classes
    BIOBifunctor3
  28. def leftMap2[R, E, A, E2, E3](firstOp: F[R, E, A], secondOp: => F[R, E2, A])(f: (E, E2) => E3): F[R, E3, A]

    map errors from two operations into a new error if both fail

    map errors from two operations into a new error if both fail

    Definition Classes
    BIOError3BIOApplicativeError3
  29. def map[R, E, A, B](r: F[R, E, A])(f: (A) => B): F[R, E, B]
    Definition Classes
    BIOMonad3BIOFunctor3
  30. def map2[R, E, A, B, C](r1: F[R, E, A], r2: => F[R, E, B])(f: (A, B) => C): F[R, E, C]

    execute two operations in order, map their results

    execute two operations in order, map their results

    Definition Classes
    BIOMonad3BIOApplicative3
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def orElse[R, E, A, E2](r: F[R, E, A], f: => F[R, E2, A]): F[R, E2, A]

    execute second operation only if the first one fails

    execute second operation only if the first one fails

    Definition Classes
    BIOError3BIOApplicativeError3
  35. def redeem[R, E, A, E2, B](r: F[R, E, A])(err: (E) => F[R, E2, B], succ: (A) => F[R, E2, B]): F[R, E2, B]
    Definition Classes
    BIOError3
  36. def redeemPure[R, E, A, B](r: F[R, E, A])(err: (E) => B, succ: (A) => B): F[R, Nothing, B]
    Definition Classes
    BIOError3
  37. def sequence[R, E, A, B](l: Iterable[F[R, E, A]]): F[R, E, List[A]]
    Definition Classes
    BIOApplicative3
  38. def sequence_[R, E](l: Iterable[F[R, E, Unit]]): F[R, E, Unit]
    Definition Classes
    BIOApplicative3
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def tailRecM[R, E, A, B](a: A)(f: (A) => F[R, E, Either[A, B]]): F[R, E, B]
    Definition Classes
    BIOMonad3
  41. def tap[R, E, A](r: F[R, E, A])(f: (A) => F[R, E, Unit]): F[R, E, A]
    Definition Classes
    BIOMonad3
  42. def tapBoth[R, E, A, E1 >: E](r: F[R, E, A])(err: (E) => F[R, E1, Unit], succ: (A) => F[R, E1, Unit]): F[R, E1, A]
    Definition Classes
    BIOError3
  43. def tapError[R, E, A, E1 >: E](r: F[R, E, A])(f: (E) => F[R, E1, Unit]): F[R, E1, A]
    Definition Classes
    BIOError3
  44. def toString(): String
    Definition Classes
    AnyRef → Any
  45. final def traverse[R, E, A, B](o: Option[A])(f: (A) => F[R, E, B]): F[R, E, Option[B]]
    Definition Classes
    BIOApplicative3
    Annotations
    @inline()
  46. def traverse[R, E, A, B](l: Iterable[A])(f: (A) => F[R, E, B]): F[R, E, List[B]]
    Definition Classes
    BIOApplicative3
  47. def traverse_[R, E, A](l: Iterable[A])(f: (A) => F[R, E, Unit]): F[R, E, Unit]
    Definition Classes
    BIOApplicative3
  48. def unit: F[Any, Nothing, Unit]
    Definition Classes
    BIOApplicative3
  49. final def unless[R, E, E1](cond: F[R, E, Boolean])(ifFalse: F[R, E1, Unit])(implicit ev: <:<[E, E1]): F[R, E1, Unit]
    Definition Classes
    BIOMonad3
    Annotations
    @inline()
  50. final def unless[R, E](cond: Boolean)(ifFalse: F[R, E, Unit]): F[R, E, Unit]
    Definition Classes
    BIOApplicative3
    Annotations
    @inline()
  51. def void[R, E, A](r: F[R, E, A]): F[R, E, Unit]
    Definition Classes
    BIOFunctor3
  52. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  53. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  54. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  55. final def when[R, E, E1](cond: F[R, E, Boolean])(ifTrue: F[R, E1, Unit])(implicit ev: <:<[E, E1]): F[R, E1, Unit]
    Definition Classes
    BIOMonad3
    Annotations
    @inline()
  56. final def when[R, E](cond: Boolean)(ifTrue: F[R, E, Unit]): F[R, E, Unit]
    Definition Classes
    BIOApplicative3
    Annotations
    @inline()
  57. final def widen[R, E, A, A1](r: F[R, E, A])(implicit ev: <:<[A, A1]): F[R, E, A1]
    Definition Classes
    BIOFunctor3
    Annotations
    @inline()
  58. final def widenBoth[R, E, A, E1, A1](r: F[R, E, A])(implicit ev: <:<[E, E1], ev2: <:<[A, A1]): F[R, E1, A1]
    Definition Classes
    BIOBifunctor3
    Annotations
    @inline()
  59. final def widenError[R, E, A, E1](r: F[R, E, A])(implicit ev: <:<[E, E1]): F[R, E1, A]
    Definition Classes
    BIOBifunctor3
    Annotations
    @inline()
  60. final def withFilter[R, E, A](r: F[R, E, A])(predicate: (A) => Boolean)(implicit filter: BIOWithFilter[E], pos: SourceFilePositionMaterializer): F[R, E, A]

    for-comprehensions sugar:

    for-comprehensions sugar:

    for {
      (1, 2) <- F.pure((2, 1))
    } yield ()

    Use widenError to for pattern matching with non-Throwable errors:

    val f = for {
      (1, 2) <- F.pure((2, 1)).widenError[Option[Unit]]
    } yield ()
    // f: F[Option[Unit], Unit] = F.fail(Some(())
    Definition Classes
    BIOError3
    Annotations
    @inline()

Inherited from BIOError3[F]

Inherited from BIOMonad3[F]

Inherited from BIOApplicativeError3[F]

Inherited from BIOBifunctor3[F]

Inherited from BIOGuarantee3[F]

Inherited from BIOApplicative3[F]

Inherited from BIOFunctor3[F]

Inherited from BIORootBifunctor[F]

Inherited from BIORoot

Inherited from PredefinedHelper

Inherited from DivergenceHelper

Inherited from AnyRef

Inherited from Any

Ungrouped