Hold

final case
class Hold[A](in: Pat[A], hold: Pat[Boolean]) extends Pattern[A]

A pattern that holds (and repeats) input values whenever hold is true. With the default of constant true, the pattern will repeat the first input element forever.

trait Serializable
class Pattern[A]
trait Pat[A]
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def expand[T <: Exec[LazyRef(...)]](implicit ctx: Context[T], tx: T): Stream[T, A]
def transform[T <: Exec[LazyRef(...)]](t: Transform)(implicit ctx: Context[T], tx: T): Pat[A]

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product