Packages

object Transducer

Source
Transducer.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Transducer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Aux[S0, O0] = Transducer[O0] { type State = S0 }

    Aux instance for Transducer.

    Aux instance for Transducer. Use when you need to make the State type visible as a type parameter.

  2. final case class Box[S, O](transducer: Aux[S, O])(state: S) extends Product with Serializable

    This associates a transducer with its state, useful to get around issues with inference of existential types.

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. def apply[A](elts: A*): Transducer[A]

    Create a transducer that produces the given elements in-order and then stops.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def empty[A]: Transducer[A]

    Create a transducer that immediately stops.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. def fromList[A](elts: List[A]): Transducer[A]

    Create a transducer that produces elements in-order from the given list and then stops.

  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def pure[A](elt: A): Transducer[A]

    Create a transducer that produces the given element and then stops.

  19. def scanLeft[A](start: A)(update: (A) => A): Transducer[A]

    Create a transducer that starts with given start state and runs forever.

    Create a transducer that starts with given start state and runs forever. The function update is used to update the state.

  20. def scanLeftUntil[A](start: A)(update: (A) => A)(stop: (A) => Boolean): Transducer[A]

    Create a transducer that starts with given start state, and runs until stop returns false.

    Create a transducer that starts with given start state, and runs until stop returns false. The function f is used to update the state.

  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. implicit def transducerMonoid[A]: Monoid[Transducer[A]]
  24. implicit val transducerTraverseAndApplicative: Traverse[Transducer] with Applicative[Transducer]
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped