final case class RepresentableStoreT[W[_], F[_], S, A](runF: W[F[A]], index: S)(implicit F: Aux[F, S]) extends Product with Serializable
- Alphabetic
- By Inheritance
- RepresentableStoreT
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
coflatMap[B](f: (RepresentableStoreT[W, F, S, A]) ⇒ B)(implicit W: Comonad[W]): RepresentableStoreT[W, F, S, B]
coflatMap
is the dual offlatMap
onFlatMap
.coflatMap
is the dual offlatMap
onFlatMap
. It applies a value in a context to a function that takes a value in a context and returns a normal value. -
def
coflatten(implicit W: Comonad[W]): RepresentableStoreT[W, F, S, RepresentableStoreT[W, F, S, A]]
coflatten
is the dual offlatten
onFlatMap
.coflatten
is the dual offlatten
onFlatMap
. Whereas flatten removes a layer ofF
, coflatten adds a layer ofF
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
experiment[G[_]](f: (S) ⇒ G[S])(implicit W: Comonad[W], G: Functor[G]): G[A]
Given a functorial computation on the index
S
peek at the value in that functor. -
def
extract(implicit W: Comonad[W]): A
Extract the focus at the current index.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val index: S
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
map[B](f: (A) ⇒ B)(implicit W: Functor[W]): RepresentableStoreT[W, F, S, B]
Functor
map
for StoreT -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
peek(s: S)(implicit W: Comonad[W]): A
Peek at what the focus would be for a given focus s.
-
def
peeks(f: (S) ⇒ S)(implicit W: Comonad[W]): A
Peek at what the focus would be if the current focus where transformed with the given function.
- def run(implicit W: Functor[W]): W[A]
- val runF: W[F[A]]
-
def
seek(s: S): RepresentableStoreT[W, F, S, A]
Set the current focus.
-
def
seeks(f: (S) ⇒ S): RepresentableStoreT[W, F, S, A]
Modify the current focus with the given function.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )