FSharpPlus


MultiMap Module

Functions and values

Function or value Description

add key value source

Full Usage: add key value source

Parameters:
    key : 'Key
    value : 'Value
    source : MultiMap<'Key, 'Value>

Returns: MultiMap<'Key, 'Value>

Returns a new multiMap with the new binding added to the given multiMap.

key : 'Key
value : 'Value
source : MultiMap<'Key, 'Value>
Returns: MultiMap<'Key, 'Value>

mapValues mapping source

Full Usage: mapValues mapping source

Parameters:
    mapping : 'a -> 'b
    source : MultiMap<'c, 'a>

Returns: MultiMap<'c, 'b>

Maps values of the original multiMap.

mapping : 'a -> 'b
source : MultiMap<'c, 'a>
Returns: MultiMap<'c, 'b>

ofArray source

Full Usage: ofArray source

Parameters:
    source : ('Key * 'Value)[]

Returns: MultiMap<'Key, 'Value>

Converts an array of tuples to a multiMap.

source : ('Key * 'Value)[]
Returns: MultiMap<'Key, 'Value>

ofList source

Full Usage: ofList source

Parameters:
    source : ('Key * 'Value) list

Returns: MultiMap<'Key, 'Value>

Converts a list of tuples to a multiMap.

source : ('Key * 'Value) list
Returns: MultiMap<'Key, 'Value>

ofSeq source

Full Usage: ofSeq source

Parameters:
    source : ('Key * 'Value) seq

Returns: MultiMap<'Key, 'Value>

Converts a seq of tuples to a multiMap.

source : ('Key * 'Value) seq
Returns: MultiMap<'Key, 'Value>

toArray source

Full Usage: toArray source

Parameters:
Returns: ('a * 'b)[]

Converts a multiMap to an array of tuples.

source : MultiMap<'a, 'b>
Returns: ('a * 'b)[]

toList source

Full Usage: toList source

Parameters:
Returns: ('a * 'b) list

Converts a multiMap to a list of tuples.

source : MultiMap<'a, 'b>
Returns: ('a * 'b) list

toSeq arg1

Full Usage: toSeq arg1

Parameters:
Returns: ('a * 'b) seq

Converts a multiMap to a seq of tuples.

arg0 : MultiMap<'a, 'b>
Returns: ('a * 'b) seq