Collections Module

A module for composing the applicatives.

Types

Type Description

NameOptionValueList

A (string * string option) list, use (^^) to access

NameValueList

A (string * string) list, use (%%) to access

Functions and values

Function or value Description

target %% key

Full Usage: target %% key

Parameters:
    target : List<string * string>
    key : string

Returns: Choice<string, string>
target : List<string * string>
key : string
Returns: Choice<string, string>

target @@ key

Full Usage: target @@ key

Parameters:
    target : List<string * string>
    key : string

Returns: Choice<string, string>
target : List<string * string>
key : string
Returns: Choice<string, string>

target ^^ key

Full Usage: target ^^ key

Parameters:
Returns: Choice<string, string>
target : NameOptionValueList
key : string
Returns: Choice<string, string>

getFirst target key

Full Usage: getFirst target key

Parameters:
    target : List<string * string>
    key : string

Returns: Choice<string, string>
target : List<string * string>
key : string
Returns: Choice<string, string>

getFirstCaseInsensitive target key

Full Usage: getFirstCaseInsensitive target key

Parameters:
    target : List<string * string>
    key : string

Returns: Choice<string, string>
target : List<string * string>
key : string
Returns: Choice<string, string>

getFirstOpt target key

Full Usage: getFirstOpt target key

Parameters:
Returns: Choice<string, string>
target : NameOptionValueList
key : string
Returns: Choice<string, string>

tryGetChoice1 f x

Full Usage: tryGetChoice1 f x

Parameters:
    f : 'a -> Choice<'b, 'c>
    x : 'a

Returns: 'b option
f : 'a -> Choice<'b, 'c>
x : 'a
Returns: 'b option

Type extensions

Type extension Description

this.TryLookup

Full Usage: this.TryLookup

Parameters:
    key : 'b

Returns: Choice<'a, string>

Extended Type: IDictionary

key : 'b
Returns: Choice<'a, string>