Collectable
trait Collectable[t: Type]SourceTrait for types that can be collected 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
Signatures
def collect(iter: Iterator[Collectable.Elm[t], ef, r]): t \ { ef, Collectable.Aef[t], Read[r], Write[r] } with Collectable[t]§ SourceRun an Iterator collecting the results.