object StackUnsafe
Enumerators that rely on F
to provide stack safety.
These implementations will generally be more efficient than the default
ones, but will not be stack safe unless recursive monadic binding in F
is
stack safe.
- Source
- Enumerator.scala
- Alphabetic
- By Inheritance
- StackUnsafe
- 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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
enumStream[F[_], E](xs: Stream[E], chunkSize: Int = defaultChunkSize)(implicit arg0: Monad[F]): Enumerator[F, E]
An enumerator that produces values from a stream.
-
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
generateM[F[_], E](f: F[Option[E]])(implicit F: Monad[F]): Enumerator[F, E]
An enumerator that returns the result of an effectful operation until
None
is generated.An enumerator that returns the result of an effectful operation until
None
is generated.Note that this implementation will only be stack safe if recursive monadic binding in
F
is stack safe. -
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
-
def
iterate[F[_], E](init: E)(f: (E) ⇒ E)(implicit F: Monad[F]): Enumerator[F, E]
An enumerator that iteratively performs an operation and returns the results.
An enumerator that iteratively performs an operation and returns the results.
Note that this implementation will only be stack safe if recursive monadic binding in
F
is stack safe. -
def
iterateM[F[_], E](init: E)(f: (E) ⇒ F[E])(implicit F: Monad[F]): Enumerator[F, E]
An enumerator that iteratively performs an effectful operation and returns the results.
An enumerator that iteratively performs an effectful operation and returns the results.
Note that this implementation will only be stack safe if recursive monadic binding in
F
is stack safe. -
def
iterateUntil[F[_], E](init: E)(f: (E) ⇒ Option[E])(implicit F: Monad[F]): Enumerator[F, E]
An enumerator that iteratively performs an operation until
None
is generated and returns the results.An enumerator that iteratively performs an operation until
None
is generated and returns the results.Note that this implementation will only be stack safe if recursive monadic binding in
F
is stack safe. -
def
iterateUntilM[F[_], E](init: E)(f: (E) ⇒ F[Option[E]])(implicit F: Monad[F]): Enumerator[F, E]
An enumerator that iteratively performs an effectful operation until
None
is generated and returns the results.An enumerator that iteratively performs an effectful operation until
None
is generated and returns the results.Note that this implementation will only be stack safe if recursive monadic binding in
F
is stack safe. -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
repeat[F[_], E](e: E)(implicit F: Monad[F]): Enumerator[F, E]
An enumerator that repeats the given value indefinitely.
An enumerator that repeats the given value indefinitely.
Note that this implementation will only be stack safe if recursive monadic binding in
F
is stack safe. -
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( ... )