object ST extends STInstances
- Source
- ST.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ST
- STInstances
- STInstance0
- AnyRef
- Any
- Hide All
- Show All
Visibility
- 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
- implicit def STToIO[A](st: ST[IvoryTower, A]): IO[A]
-
def
accumArray[F[_], A, B](size: Int, f: (A, B) ⇒ A, z: A, ivs: F[(Int, B)])(implicit arg0: ClassTag[A], F: Foldable[F]): ImmutableArray[A]
Accumulates an integer-associated list into an immutable array.
- def apply[S, A](a: ⇒ A): ST[S, A]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fixST[S, A](k: (⇒ A) ⇒ ST[S, A]): ST[S, A]
Allows the result of a state transformer computation to be used lazily inside the computation.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newArr[S, A](size: Int, z: A)(implicit arg0: ClassTag[A]): ST[S, STArray[S, A]]
Allocates a fresh mutable array.
-
def
newVar[S]: ~>[Id.Id, [α]ST[S, STRef[S, α]]]
Allocates a fresh mutable reference.
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
returnST[S, A](a: ⇒ A): ST[S, A]
Put a value in a state thread
-
def
runST[A](f: Forall[[α$3$]ST[α$3$, A]]): A
Run a state thread
- def st[S, A](f: (Tower[S]) ⇒ (Tower[S], A)): ST[S, A]
-
implicit
def
stMonad[S]: Monad[[β$7$]ST[S, β$7$]]
- Definition Classes
- STInstances
-
implicit
def
stMonoid[S, A](implicit A: Monoid[A]): Monoid[ST[S, A]]
- Definition Classes
- STInstances
-
implicit
def
stSemigroup[S, A](implicit A: Semigroup[A]): Semigroup[ST[S, A]]
- Definition Classes
- STInstance0
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )