case class FlatMap[X, Y](baseInput: RandomVar[X], fiberNode: (X) => GeneratorNode[Y], output: RandomVar[Y]) extends GeneratorNode[Y] with Product with Serializable
flat-maps a family of generator nodes, such as lambda islands corresponding to different types.
- X
scala type of the parametrizing random variable
- Y
scala type of the output random variable
- baseInput
the random variable for the parameter of the family
- fiberNode
the node for each parameter
- output
the output random variable
- Alphabetic
- By Inheritance
- FlatMap
- Serializable
- Product
- Equals
- GeneratorNode
- GeneratorNodeFamily
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new FlatMap(baseInput: RandomVar[X], fiberNode: (X) => GeneratorNode[Y], output: RandomVar[Y])
- baseInput
the random variable for the parameter of the family
- fiberNode
the node for each parameter
- output
the output random variable
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (FlatMap[X, Y], B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val baseInput: RandomVar[X]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def ensuring(cond: (FlatMap[X, Y]) => Boolean, msg: => Any): FlatMap[X, Y]
- def ensuring(cond: (FlatMap[X, Y]) => Boolean): FlatMap[X, Y]
- def ensuring(cond: Boolean, msg: => Any): FlatMap[X, Y]
- def ensuring(cond: Boolean): FlatMap[X, Y]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val fiberNode: (X) => GeneratorNode[Y]
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val inputList: Cons[X, HNil]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val output: RandomVar[Y]
- Definition Classes
- FlatMap → GeneratorNode
- val outputFamily: RandomVar[Y]
the family of random variables for which this is a generation.
the family of random variables for which this is a generation.
- Definition Classes
- GeneratorNode → GeneratorNodeFamily
- def pi[D, S >: Y, T](conditionFamily: (D) => Sort[S, T], outputFamily: RandomVarFamily[::[D, HNil], T]): GeneratorNodeFamily[::[D, HNil], T]
- Definition Classes
- GeneratorNode
- def piFmly[Dom <: HList, S >: Y, T](conditionFamily: (Dom) => Sort[S, T], outputFamily: RandomVarFamily[Dom, T]): GeneratorNodeFamily[Dom, T]
- Definition Classes
- GeneratorNode
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def |[S >: Y, T](condition: Sort[S, T], output: RandomVar[T]): GeneratorNode[T]
- Definition Classes
- GeneratorNode
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def →[B](y: B): (FlatMap[X, Y], B)
- Implicit
- This member is added by an implicit conversion from FlatMap[X, Y] toArrowAssoc[FlatMap[X, Y]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.