FSharpx.Extras


FSharpList Type

Static members

Static member Description

FSharpList.Choose(l, chooser)

Full Usage: FSharpList.Choose(l, chooser)

Parameters:
    l : 'a list
    chooser : Func<'a, 'b option>

Returns: 'b list
l : 'a list
chooser : Func<'a, 'b option>
Returns: 'b list

FSharpList.Cons(l, e)

Full Usage: FSharpList.Cons(l, e)

Parameters:
    l : 'a list
    e : 'a

Returns: 'a list
l : 'a list
e : 'a
Returns: 'a list

FSharpList.Create(values)

Full Usage: FSharpList.Create(values)

Parameters:
    values : 'T1 array

Returns: 'T1 list
values : 'T1 array
Returns: 'T1 list

FSharpList.Match(l, empty, nonempty)

Full Usage: FSharpList.Match(l, empty, nonempty)

Parameters:
    l : 'a list
    empty : Func<'b>
    nonempty : Func<'a, 'a list, 'b>

Returns: 'b
l : 'a list
empty : Func<'b>
nonempty : Func<'a, 'a list, 'b>
Returns: 'b

FSharpList.ToFSharpList(s)

Full Usage: FSharpList.ToFSharpList(s)

Parameters:
    s : 'a seq

Returns: 'a list
s : 'a seq
Returns: 'a list

FSharpList.TryFind(l, value)

Full Usage: FSharpList.TryFind(l, value)

Parameters:
    l : 'a list
    value : 'a

Returns: 'a option
l : 'a list
value : 'a
Returns: 'a option

FSharpList.TryFind(l, pred)

Full Usage: FSharpList.TryFind(l, pred)

Parameters:
Returns: 'a option
l : 'a list
pred : Predicate<'a>
Returns: 'a option