Yield

object Yield extends LowPriorityYield0
trait LowPriorityYield0
trait LowPriorityYield1
trait LowPriorityYield3
class Object
trait Matchable
class Any

Type members

Classlikes

object From

Types

opaque type From[FromCollection <: IterableOnce[_]]

Value members

Concrete methods

def apply[Element]: Element =:= Yield[Element]
def apply[A](element0: A, element1: A, elements: A*): From[Seq[A]]

Inherited methods

def apply[A](elements: A*): From[Seq[A]]
Inherited from
LowPriorityYield3

Givens

Givens

given IsKeywordSubtype_Element_Yield_Unit[Element]: IsKeywordSubtype[Element, Yield[Element], Unit]
given IsKeywordSubtype_FromCollection_From_Unit[FromCollection <: IterableOnce[_]]: IsKeywordSubtype[FromCollection, From[FromCollection], Unit]
given IsKeyword_Yield_Unit[Element]: IsKeyword[Yield[Element], Unit]

Implicits

Implicits

implicit
def indexedSeqViewYieldDsl[A, B >: A]: Dsl[Yield[A], IndexedSeqView[B], Unit]
implicit
def indexedSeqViewYieldFromDsl[A, FromCollection <: IndexedSeqOps[A, CC, C], CC[_], C]: Dsl[From[FromCollection], IndexedSeqView[A], Unit]
implicit
def indexedSeqViewYieldFromIterableDsl[A, FromCollection <: SomeIterableOps[A]]: Dsl[From[FromCollection], IndexedSeqView[A], Unit]
implicit
def lazyListYieldDsl[Element, That >: Element]: Dsl[Yield[Element], LazyList[That], Unit]
implicit
def lazyListYieldFromDsl[A, FromCollection <: Iterable[A]]: Dsl[From[FromCollection], LazyList[A], Unit]
implicit
def seqViewYieldDsl[A, B >: A]: Dsl[Yield[A], SeqView[B], Unit]
implicit
def seqViewYieldFromDsl[A, FromCollection <: SeqOps[A, CC, C], CC[_], C]: Dsl[From[FromCollection], SeqView[A], Unit]
implicit
def seqViewYieldFromIterableDsl[A, FromCollection <: SomeIterableOps[A]]: Dsl[From[FromCollection], SeqView[A], Unit]
implicit
def streamYieldDsl[Element, That >: Element]: Dsl[Yield[Element], Stream[That], Unit]
implicit
def streamYieldFromDsl[A, FromCollection <: Iterable[A]]: Dsl[From[FromCollection], Stream[A], Unit]
implicit
def viewYieldDsl[A, B >: A]: Dsl[Yield[A], View[B], Unit]
implicit
def viewYieldFromDsl[A, FromCollection <: SomeIterableOps[A]]: Dsl[From[FromCollection], View[A], Unit]

Inherited implicits

implicit
def iteratorYieldDsl[A, B >: A]: Dsl[Yield[A], Iterator[B], Unit]
Inherited from
LowPriorityYield3
implicit
def iteratorYieldFromDsl[A, FromCollection <: IterableOnce[A]]: Dsl[From[FromCollection], Iterator[A], Unit]
Inherited from
LowPriorityYield3
implicit
def seqYieldDsl[A, B >: A, Collection <: (SeqOps)]: Dsl[Yield[A], Collection[B], Unit]
Inherited from
LowPriorityYield1
implicit
def seqYieldFromDsl[A, FromCollection <: SomeIterableOps[A], Collection <: (SeqOps)]: Dsl[From[FromCollection], Collection[A], Unit]
Inherited from
LowPriorityYield1