Header menu logo 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 : 'T seq

Add multiple elements to the collector

values : 'T seq

this.AddManyAndClose

Full Usage: this.AddManyAndClose

Parameters:
    values : 'T seq

Returns: 'T list

Add multiple elements to the collector and return the resulting list

values : 'T seq
Returns: 'T list

this.Close

Full Usage: this.Close

Returns: 'T list

Return the resulting list

Returns: 'T list

Type something to start searching.