Packages

trait BiLocal[F[+_, +_], X, C] extends BiContext[F, X, C]

typeclass for locally modification of environment for processess

Linear Supertypes
BiContext[F, X, C], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BiLocal
  2. BiContext
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def bifunctor: Bifunctor[F]

    base F bifunctor inclusion

    base F bifunctor inclusion

    Definition Classes
    BiContext
  2. abstract def bilocal[E, A](fea: F[E, A])(lproj: (X) ⇒ X, rproj: (C) ⇒ C): 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

  3. abstract def context: F[X, C]

    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
    BiContext

Concrete 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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def errLocal[E, A](fea: F[E, A])(proj: (X) ⇒ X): F[E, A]

    same as bilocal but modify only the error part

  9. def extract[E, A](err: PExtract[X, Any, E, Nothing], res: PExtract[C, Any, A, Nothing]): BiContext[F, E, A]

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

    same as bilocal but modify only the result part

  16. def lsub[E](cts: Contains[X, E]): BiLocal[F, E, C]

    same as sub but focus on the error only

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def rextract[E](ex: PExtract[X, Any, E, Nothing]): BiContext[F, E, C]

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

    same as sub but focus on the result only

  22. def sub[E, A](err: Contains[X, E], res: Contains[C, A]): BiLocal[F, E, A]

    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

  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from BiContext[F, X, C]

Inherited from AnyRef

Inherited from Any

Ungrouped