Collectable
trait Collectable[t: Type]SourceA trait representing collections that can be produced from an Iterator.
Associated Types
type Aef: Eff = {}SourceThe 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]]Sourcetype Elm = ainstance Collectable[List[a]]Sourcetype Elm = ainstance Collectable[Set[a]] with Order[a]Sourcetype Elm = ainstance Collectable[Vector[a]]Sourcetype Elm = aSignatures
def collect(iter: Iterator[Elm[t], ef, r]): t \ ef + Aef[t] + r with Collectable[t]§ SourceRun an Iterator collecting the results.