FSharp.Core


ListCollector<'T> Type

Collects elements and builds a list

Record fields

Record Field Description

LastCons

Full Usage: LastCons

Field type: 'T list
Modifiers: mutable
Field type: 'T list

Result

Full Usage: Result

Field type: 'T list
Modifiers: mutable
Field type: 'T list

Instance members

Instance member Description

this.Add

Full Usage: this.Add

Parameters:
    value : 'T

Add an element to the collector

value : 'T

this.AddMany

Full Usage: this.AddMany

Parameters:
    values : seq<'T>

Add multiple elements to the collector

values : seq<'T>

this.AddManyAndClose

Full Usage: this.AddManyAndClose

Parameters:
    values : seq<'T>

Returns: 'T list

Add multiple elements to the collector and return the resulting list

values : seq<'T>
Returns: 'T list

this.Close

Full Usage: this.Close

Returns: 'T list

Return the resulting list

Returns: 'T list