This trait is part of the infrastructure required to make the collect combinator have a
default parameter to List[_].
C is the type of the collection (ex: List[Int]) given by the User (or inferred to Nothing by the compiler)
A is the element inside the collection (in List[Int] it would be Int)
R is the 'real' collection that will be used i.e if C = Nothing => R = List[A] else R = C
Note: maybe it would be interesting to generate such boilerplaite with a macro annotation. Something like that:
This member is added by an implicit conversion from (Combinators.this)#Collector[C, A, R] to
any2stringadd[(Combinators.this)#Collector[C, A, R]] performed by method any2stringadd in scala.Predef.
Definition Classes
any2stringadd
def->[B](y: B): ((Combinators.this)#Collector[C, A, R], B)
Implicit information
This member is added by an implicit conversion from (Combinators.this)#Collector[C, A, R] to
ArrowAssoc[(Combinators.this)#Collector[C, A, R]] performed by method ArrowAssoc in scala.Predef.
defensuring(cond: ((Combinators.this)#Collector[C, A, R]) ⇒ Boolean, msg: ⇒ Any): (Combinators.this)#Collector[C, A, R]
Implicit information
This member is added by an implicit conversion from (Combinators.this)#Collector[C, A, R] to
Ensuring[(Combinators.this)#Collector[C, A, R]] performed by method Ensuring in scala.Predef.
Definition Classes
Ensuring
defensuring(cond: ((Combinators.this)#Collector[C, A, R]) ⇒ Boolean): (Combinators.this)#Collector[C, A, R]
Implicit information
This member is added by an implicit conversion from (Combinators.this)#Collector[C, A, R] to
Ensuring[(Combinators.this)#Collector[C, A, R]] performed by method Ensuring in scala.Predef.
Definition Classes
Ensuring
defensuring(cond: Boolean, msg: ⇒ Any): (Combinators.this)#Collector[C, A, R]
Implicit information
This member is added by an implicit conversion from (Combinators.this)#Collector[C, A, R] to
Ensuring[(Combinators.this)#Collector[C, A, R]] performed by method Ensuring in scala.Predef.
Definition Classes
Ensuring
defensuring(cond: Boolean): (Combinators.this)#Collector[C, A, R]
Implicit information
This member is added by an implicit conversion from (Combinators.this)#Collector[C, A, R] to
Ensuring[(Combinators.this)#Collector[C, A, R]] performed by method Ensuring in scala.Predef.
This member is added by an implicit conversion from (Combinators.this)#Collector[C, A, R] to
StringFormat[(Combinators.this)#Collector[C, A, R]] performed by method StringFormat in scala.Predef.
defparse[U](implicit convert: Convert[(Combinators.this)#Collector[C, A, R], meta.Input], dialect: Dialect, parse: meta.Parse[U]): U
Implicit information
This member is added by an implicit conversion from (Combinators.this)#Collector[C, A, R] to
meta.XtensionInputLike[(Combinators.this)#Collector[C, A, R]] performed by method XtensionInputLike in scala.meta.syntactic.Api.
Definition Classes
XtensionInputLike
defshow[Style[X] <: Show[X]](implicit style: Style[(Combinators.this)#Collector[C, A, R]]): String
Implicit information
This member is added by an implicit conversion from (Combinators.this)#Collector[C, A, R] to
meta.XtensionShow[(Combinators.this)#Collector[C, A, R]] performed by method XtensionShow in scala.meta.ui.Api.
This member is added by an implicit conversion from (Combinators.this)#Collector[C, A, R] to
meta.XtensionInputLike[(Combinators.this)#Collector[C, A, R]] performed by method XtensionInputLike in scala.meta.syntactic.Api.
Definition Classes
XtensionInputLike
final defwait(): Unit
Definition Classes
AnyRef
Annotations
@throws(...)
final defwait(arg0: Long, arg1: Int): Unit
Definition Classes
AnyRef
Annotations
@throws(...)
final defwait(arg0: Long): Unit
Definition Classes
AnyRef
Annotations
@throws(...)
def→[B](y: B): ((Combinators.this)#Collector[C, A, R], B)
Implicit information
This member is added by an implicit conversion from (Combinators.this)#Collector[C, A, R] to
ArrowAssoc[(Combinators.this)#Collector[C, A, R]] performed by method ArrowAssoc in scala.Predef.
This trait is part of the infrastructure required to make the collect combinator have a default parameter to List[_]. C is the type of the collection (ex: List[Int]) given by the User (or inferred to Nothing by the compiler) A is the element inside the collection (in List[Int] it would be Int) R is the 'real' collection that will be used i.e if C = Nothing => R = List[A] else R = C
Note: maybe it would be interesting to generate such boilerplaite with a macro annotation. Something like that: