Collectable
trait Collectable[t: Type]SourceA trait representing collections that can be produced from an Iterator.
Associated Types
type Aef: EffSourceThe associated effect of the Collectable which represents the effect of accessing its elements.
type Elm: TypeSourceThe element type of the Collectable.
Instances
instance Collectable[Chain[a]]Sourceinstance Collectable[List[a]]Sourceinstance Collectable[Set[a]] with Order[a]Sourceinstance Collectable[Vector[a]]SourceSignatures
def collect(iter: Iterator[Elm[t], ef, r]): t \ ef + Aef[t] + r with Collectable[t]
 SourceRun an Iterator collecting the results.