Class

diode

ZipModelR

Related Doc: package diode

Permalink

class ZipModelR[M, S, SS] extends BaseModelR[M, (S, SS)] with ValueRefEq

Model reader for two zipped readers

Linear Supertypes
ValueRefEq, BaseModelR[M, (S, SS)], ModelR[M, (S, SS)], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ZipModelR
  2. ValueRefEq
  3. BaseModelR
  4. ModelR
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ZipModelR(root: ModelR[M, M], get1: (M) ⇒ S, get2: (M) ⇒ SS)(implicit cts: ClassTag[S], ctss: ClassTag[SS])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(): (S, SS)

    Permalink

    Returns the value of the reader

    Returns the value of the reader

    Definition Classes
    ModelR
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def chooseEq[A](ct: ClassTag[A]): (A, A) ⇒ Boolean

    Permalink

    Choose an equality function based on the type (AnyVal vs.

    Choose an equality function based on the type (AnyVal vs. AnyRef)

    ct

    ClassTag for the type

    Definition Classes
    ValueRefEq
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def eval(model: M): (S, SS)

    Permalink

    Evaluates the reader against a supplied model

    Evaluates the reader against a supplied model

    Definition Classes
    BaseModelRModelR
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def flatMap[F[_], A, B](f: (A) ⇒ F[B])(implicit ev: =:=[(S, SS), F[A]], monad: Monad[F], ct: ClassTag[B]): ModelR[M, F[B]]

    Permalink

    FlatMaps over current reader into a new value provided by f.

    FlatMaps over current reader into a new value provided by f. Reader type S must be of type F[A], for example Option[A].

    f

    The function to apply, must return a value of type F[B]

    Definition Classes
    ModelR
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getF(model: M): (S, SS)

    Permalink
    Attributes
    protected
    Definition Classes
    ZipModelRBaseModelR
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def map[F[_], A, B](f: (A) ⇒ B)(implicit ev: =:=[(S, SS), F[A]], monad: Monad[F], ct: ClassTag[B]): ModelR[M, F[B]]

    Permalink

    Maps over current reader into a new value provided by f.

    Maps over current reader into a new value provided by f. Reader type S must be of type F[A], for example Option[A].

    f

    The function to apply

    Definition Classes
    ModelR
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def refEq[A](v1: A, v2: A): Boolean

    Permalink
    Definition Classes
    ValueRefEq
  22. val root: ModelR[M, M]

    Permalink
    Attributes
    protected
    Definition Classes
    ZipModelRBaseModelR
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. def value: (S, SS)

    Permalink

    Returns the value of the reader

    Returns the value of the reader

    Definition Classes
    BaseModelRModelR
  26. def valueEq[A](v1: A, v2: A): Boolean

    Permalink
    Definition Classes
    ValueRefEq
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. def zip[SS](that: ModelR[M, SS])(implicit cts: ClassTag[(S, SS)], ctss: ClassTag[SS]): ZipModelR[M, (S, SS), SS]

    Permalink

    Combines this reader with another reader to provide a new reader returning a tuple of the values of the two original readers.

    Combines this reader with another reader to provide a new reader returning a tuple of the values of the two original readers.

    that

    The other reader

    Definition Classes
    BaseModelRModelR
  31. def zoom[T](get: ((S, SS)) ⇒ T): ZoomModelR[M, T]

    Permalink

    Zooms into the model using the provided accessor function

    Zooms into the model using the provided accessor function

    get

    Function to go from current reader to a new value

    Definition Classes
    BaseModelRModelR
  32. def zoomFlatMap[F[_], A, B](fa: ((S, SS)) ⇒ F[A])(f: (A) ⇒ F[B])(implicit monad: Monad[F], ct: ClassTag[B]): ModelR[M, F[B]]

    Permalink

    Zooms into the model and flatMaps over the zoomed value, which must be of type F[A]

    Zooms into the model and flatMaps over the zoomed value, which must be of type F[A]

    fa

    Zooming function

    f

    The function to apply, must return a value of type F[B]

    Definition Classes
    BaseModelRModelR
  33. def zoomMap[F[_], A, B](fa: ((S, SS)) ⇒ F[A])(f: (A) ⇒ B)(implicit monad: Monad[F], ct: ClassTag[B]): ModelR[M, F[B]]

    Permalink

    Zooms into the model and maps over the zoomed value, which must be of type F[A]

    Zooms into the model and maps over the zoomed value, which must be of type F[A]

    fa

    Zooming function

    f

    The function to apply

    Definition Classes
    BaseModelRModelR

Inherited from ValueRefEq

Inherited from BaseModelR[M, (S, SS)]

Inherited from ModelR[M, (S, SS)]

Inherited from AnyRef

Inherited from Any

Ungrouped