FSharpPlus


IReadOnlyList Module

Additional operations on ReadOnlyList<'T>

Functions and values

Function or value Description

IReadOnlyList.iter mapping source

Full Usage: IReadOnlyList.iter mapping source

Parameters:
mapping : 'T -> unit
source : IReadOnlyList<'T>

IReadOnlyList.map mapping source

Full Usage: IReadOnlyList.map mapping source

Parameters:
Returns: IReadOnlyList<'U>
mapping : 'T -> 'U
source : IReadOnlyList<'T>
Returns: IReadOnlyList<'U>

IReadOnlyList.ofArray source

Full Usage: IReadOnlyList.ofArray source

Parameters:
    source : 'T array

Returns: IReadOnlyList<'T>
source : 'T array
Returns: IReadOnlyList<'T>

IReadOnlyList.ofList source

Full Usage: IReadOnlyList.ofList source

Parameters:
    source : 'T list

Returns: IReadOnlyList<'T>
source : 'T list
Returns: IReadOnlyList<'T>

IReadOnlyList.ofSeq source

Full Usage: IReadOnlyList.ofSeq source

Parameters:
    source : 'T seq

Returns: IReadOnlyList<'T>
source : 'T seq
Returns: IReadOnlyList<'T>

IReadOnlyList.toArray source

Full Usage: IReadOnlyList.toArray source

Parameters:
Returns: 'T[]
source : IReadOnlyList<'T>
Returns: 'T[]

IReadOnlyList.tryItem i source

Full Usage: IReadOnlyList.tryItem i source

Parameters:
Returns: 'a option
i : int
source : IReadOnlyList<'a>
Returns: 'a option

IReadOnlyList.trySetItem i value source

Full Usage: IReadOnlyList.trySetItem i value source

Parameters:
Returns: IReadOnlyList<'T> option

Returns a new IReadOnlyList from a given IReadOnlyList, with replaced binding for index.

i : int
value : 'T
source : IReadOnlyList<'T>
Returns: IReadOnlyList<'T> option