RecursiveGenerator

no.vedaadata.generator.RecursiveGenerator
class RecursiveGenerator[A](init: A, f: A => A) extends Generator[A]

Attributes

Graph
Supertypes
trait Generator[A]
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

def next(): Option[A]

Inherited methods

def andThen[F[_]](using f: (Generator[A]) => ComposedGenerator[F, A]): Generator[F[A]]

Attributes

Inherited from:
Generator
def as[B](using f: A => B): Generator[B]

Attributes

Inherited from:
Generator
def map[B](f: A => B): Generator[B]

Attributes

Inherited from:
Generator
def take(n: Int): List[A]

Attributes

Inherited from:
Generator