Packages

c

tofu.bi

BiRunEqvInstance

class BiRunEqvInstance[F[+_, +_], G[+_, +_], X, C, X1, C1] extends BiLocalSubInstance[F, X, C, X1, C1] with BiRun[F, G, X1, C1]

Linear Supertypes
BiRun[F, G, X1, C1], BiUnlift[G, F], BiLift[G, F], BiLocalSubInstance[F, X, C, X1, C1], BiLocal[F, X1, C1], BiContextExtractInstance[F, X, C, X1, C1], BiContext[F, X1, C1], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BiRunEqvInstance
  2. BiRun
  3. BiUnlift
  4. BiLift
  5. BiLocalSubInstance
  6. BiLocal
  7. BiContextExtractInstance
  8. BiContext
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BiRunEqvInstance(ctx: BiRun[F, G, X, C], leq: Equivalent[X, X1], req: Equivalent[C, C1])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bifunctor: Bind[F]

    base F bifunctor inclusion

    base F bifunctor inclusion

    Definition Classes
    BiRunEqvInstanceBiRunBiUnliftBiLiftBiContextExtractInstanceBiContext
  6. def bilocal[E, A](fea: F[E, A])(lproj: (X1) ⇒ X1, rproj: (C1) ⇒ C1): F[E, A]

    run the process in a locally modified environment

    run the process in a locally modified environment

    fea

    process to run

    lproj

    a modification of the error part

    rproj

    a modification of the result part

    returns

    process with the same semantics as fea but run in the modified environment

    Definition Classes
    BiRunBiLocal
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def context: F[X1, C1]

    read the contextual value of type C producing declared contextual error of type X

    read the contextual value of type C producing declared contextual error of type X

    Definition Classes
    BiContextExtractInstanceBiContext
  9. def disclose[E, A](k: (FunBK[F, G]) ⇒ F[E, A]): F[E, A]
    Definition Classes
    BiRunBiUnlift
  10. def discloseBase[E, A](k: (FunBK[F, G]) ⇒ G[E, A]): F[E, A]
    Definition Classes
    BiUnlift
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def errLocal[E, A](fea: F[E, A])(proj: (X1) ⇒ X1): F[E, A]

    same as bilocal but modify only the error part

    same as bilocal but modify only the error part

    Definition Classes
    BiLocal
  14. def extract[E1, A1](err: PExtract[X1, Any, E1, Nothing], res: PExtract[C1, Any, A1, Nothing]): BiContext[F, E1, A1]

    focus this context instance

    focus this context instance

    err

    error mapping in the optical form, this could be autogenerated tofu.optics.Contains

    res

    context mapping in the optical form, this could be autogenerated tofu.optics.Contains

    returns

    focused instance of context

    Definition Classes
    BiContextExtractInstanceBiContext
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def imap[E, A](err: Equivalent[X1, E], res: Equivalent[C1, A]): BiRun[F, G, E, A]

    map this environment using provided equivalences to other types

    map this environment using provided equivalences to other types

    err

    an optic for mapping context error

    res

    an optic for mapping context result

    returns

    focused instance

    Definition Classes
    BiRun
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def lextraxt[A](ex: PExtract[C1, Any, A, Nothing]): BiContext[F, X1, A]

    focus this context changing only the error

    focus this context changing only the error

    ex

    error mapping in the optical form

    returns

    focused instance of context

    Definition Classes
    BiContext
  21. def lift[E, A](fa: G[E, A]): F[E, A]
    Definition Classes
    BiRunEqvInstanceBiLift
  22. def liftF: FunBK[G, F]
    Definition Classes
    BiLift
  23. def local[E, A](fea: F[E, A])(proj: (C1) ⇒ C1): F[E, A]

    same as bilocal but modify only the result part

    same as bilocal but modify only the result part

    Definition Classes
    BiLocal
  24. def lsub[E](cts: Contains[X1, E]): BiLocal[F, E, C1]

    same as sub but focus on the error only

    same as sub but focus on the error only

    Definition Classes
    BiLocal
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def rextract[E](ex: PExtract[X1, Any, E, Nothing]): BiContext[F, E, C1]

    focus this context changing only the result

    focus this context changing only the result

    ex

    error mapping in the optical for

    returns

    focused instance of context

    Definition Classes
    BiContext
  29. def rsub[A](cts: Contains[C1, A]): BiLocal[F, X1, A]

    same as sub but focus on the result only

    same as sub but focus on the result only

    Definition Classes
    BiLocal
  30. def runEither[E, A](fa: F[E, A])(ctx: Either[X1, C1]): G[E, A]

    run a process starting the environment from the state defined by disjuction

    run a process starting the environment from the state defined by disjuction

    fa

    a process to run

    ctx

    environment

    returns

    base process with provided environment

    Definition Classes
    BiRun
  31. def runEitherK(ctx: Either[X1, C1]): FunBK[F, G]
    Definition Classes
    BiRun
  32. def runLeft[E, A](fa: F[E, A])(x1: X1): G[E, A]

    run a process starting from the error state for the environment

    run a process starting from the error state for the environment

    fa

    a process to run

    returns

    base process with provided environment

    Definition Classes
    BiRunEqvInstanceBiRun
  33. def runLeftK(x: X1): FunBK[F, G]
    Definition Classes
    BiRun
  34. def runRight[E, A](fa: F[E, A])(c1: C1): G[E, A]

    run a process starting from the success state for the environment

    run a process starting from the success state for the environment

    fa

    a process to run

    returns

    base process with provided environment

    Definition Classes
    BiRunEqvInstanceBiRun
  35. def runRightK(c: C1): FunBK[F, G]
    Definition Classes
    BiRun
  36. def sub[E1, A1](err: Contains[X1, E1], res: Contains[C1, A1]): BiLocal[F, E1, A1]

    focus this context instance this will read and modify only the given parts of the context

    focus this context instance this will read and modify only the given parts of the context

    err

    an optic for reading from and updating a larger context error

    res

    an optic for reading from and updating a larget context result

    returns

    focused instance

    Definition Classes
    BiLocalSubInstanceBiLocal
  37. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. def unlift[E]: F[E, FunBK[F, G]]
    Definition Classes
    BiUnlift
  40. def unliftErr[A]: F[FunBK[F, G], A]
    Definition Classes
    BiUnlift
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from BiRun[F, G, X1, C1]

Inherited from BiUnlift[G, F]

Inherited from BiLift[G, F]

Inherited from BiLocalSubInstance[F, X, C, X1, C1]

Inherited from BiLocal[F, X1, C1]

Inherited from BiContextExtractInstance[F, X, C, X1, C1]

Inherited from BiContext[F, X1, C1]

Inherited from AnyRef

Inherited from Any

Ungrouped