MutCollectable
trait MutCollectable[t: Type]
SourceA trait representing mutable collections that can be produced from an Iterator.
Associated Types
type Aef: Eff
SourceThe associated effect of the MutCollectable which represents the effect of accessing its elements.
type Elm: Type
SourceThe element type of the MutCollectable.
type Reg: Eff
SourceThe region associated with the MutCollectable.
Instances
instance MutCollectable[MutList[a, r]]
SourceSignatures
def collect(rc: Region[Reg[t]], iter: Iterator[Elm[t], ef, r]): t \ ef + Aef[t] + r + Reg[t] with MutCollectable[t]
SourceRun an Iterator collecting the results.