FSharpx.Collections


BlockResizeArray Module

Functions and values

Function or value Description

BlockResizeArray.add x bra

Full Usage: BlockResizeArray.add x bra

Parameters:

Adds element to the block resize array.

x : 'a
bra : BlockResizeArray<'a>

BlockResizeArray.count bra

Full Usage: BlockResizeArray.count bra

Parameters:
Returns: int

Returns the length of a block resize array.

bra : BlockResizeArray<'a>
Returns: int

BlockResizeArray.filter f bra

Full Usage: BlockResizeArray.filter f bra

Parameters:
Returns: BlockResizeArray<'T>

Returns a new collection containing only the elements of the collection for which the given predicate returns true.

f : 'T -> bool
bra : BlockResizeArray<'T>
Returns: BlockResizeArray<'T>

BlockResizeArray.find f bra

Full Usage: BlockResizeArray.find f bra

Parameters:
Returns: 'T

Returns the first element for which the given function returns true.

f : 'T -> bool
bra : BlockResizeArray<'T>
Returns: 'T

BlockResizeArray.fold f s bra

Full Usage: BlockResizeArray.fold f s bra

Parameters:
Returns: 'a

Applies a function to each element of the collection, threading an accumulator argument through the computation.

f : 'a -> 'b -> 'a
s : 'a
bra : BlockResizeArray<'b>
Returns: 'a

BlockResizeArray.iter f bra

Full Usage: BlockResizeArray.iter f bra

Parameters:

Applies the given function to each element of the block resize array.

f : 'T -> unit
bra : BlockResizeArray<'T>

BlockResizeArray.map f bra

Full Usage: BlockResizeArray.map f bra

Parameters:
Returns: BlockResizeArray<'U>

Builds a new block resize array whose elements are the results of applying the given function to each of the elements of the array.

f : 'T -> 'U
bra : BlockResizeArray<'T>
Returns: BlockResizeArray<'U>

BlockResizeArray.toArray bra

Full Usage: BlockResizeArray.toArray bra

Parameters:
Returns: 'a[]

Creates an array from the given block resize array.

bra : BlockResizeArray<'a>
Returns: 'a[]

BlockResizeArray.tryFind f bra

Full Usage: BlockResizeArray.tryFind f bra

Parameters:
Returns: 'T option

Returns the first element for which the given function returns true. Return None if no such element exists.

f : 'T -> bool
bra : BlockResizeArray<'T>
Returns: 'T option