Packages

c

tofu.bi

BiLocalSubInstance

class BiLocalSubInstance[F[+_, +_], X, C, E, A] extends BiContextExtractInstance[F, X, C, E, A] with BiLocal[F, E, A]

Linear Supertypes
BiLocal[F, E, A], BiContextExtractInstance[F, X, C, E, A], BiContext[F, E, A], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BiLocalSubInstance
  2. BiLocal
  3. BiContextExtractInstance
  4. BiContext
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BiLocalSubInstance(ctx: BiLocal[F, X, C], lcts: Contains[X, E], rcts: Contains[C, A])

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: Bifunctor[F]

    base F bifunctor inclusion

    base F bifunctor inclusion

    Definition Classes
    BiContextExtractInstanceBiContext
  6. def bilocal[E1, A1](fea: F[E1, A1])(lproj: (E) ⇒ E, rproj: (A) ⇒ A): F[E1, A1]

    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
    BiLocalSubInstanceBiLocal
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def context: F[E, A]

    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. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def errLocal[E, A](fea: F[E, A])(proj: (E) ⇒ E): F[E, A]

    same as bilocal but modify only the error part

    same as bilocal but modify only the error part

    Definition Classes
    BiLocal
  12. def extract[E1, A1](err: PExtract[E, Any, E1, Nothing], res: PExtract[A, 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
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def lextraxt[A](ex: PExtract[A, Any, A, Nothing]): BiContext[F, E, 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
  18. def local[E, A](fea: F[E, A])(proj: (A) ⇒ A): F[E, A]

    same as bilocal but modify only the result part

    same as bilocal but modify only the result part

    Definition Classes
    BiLocal
  19. def lsub[E](cts: Contains[E, E]): BiLocal[F, E, A]

    same as sub but focus on the error only

    same as sub but focus on the error only

    Definition Classes
    BiLocal
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def rextract[E](ex: PExtract[E, Any, E, Nothing]): BiContext[F, E, A]

    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
  24. def rsub[A](cts: Contains[A, A]): BiLocal[F, E, A]

    same as sub but focus on the result only

    same as sub but focus on the result only

    Definition Classes
    BiLocal
  25. def sub[E1, A1](err: Contains[E, E1], res: Contains[A, 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
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from BiLocal[F, E, A]

Inherited from BiContextExtractInstance[F, X, C, E, A]

Inherited from BiContext[F, E, A]

Inherited from AnyRef

Inherited from Any

Ungrouped