FSharpPlus


List Module

Additional operations on List

Functions and values

Function or value Description

filterM f xs

Full Usage: filterM f xs

Parameters:
    f : 'T -> ^Monad
    xs : 'T list

Returns: ^Monad>
Modifiers: inline
Type parameters: 'T, ^Monad<Bool>, ^Monad<list<'T>>
f : 'T -> ^Monad
xs : 'T list
Returns: ^Monad>

foldM f a bx

Full Usage: foldM f a bx

Parameters:
    f : 'T -> 'U -> ^Monad<'T>
    a : 'T
    bx : 'U list

Returns: ^Monad<'T>
Modifiers: inline
Type parameters: 'T, 'U, ^Monad<'T>
f : 'T -> 'U -> ^Monad<'T>
a : 'T
bx : 'U list
Returns: ^Monad<'T>

replicateM count initial

Full Usage: replicateM count initial

Parameters:
    count : int
    initial : ^Applicative<'T>

Returns: ^e
Modifiers: inline
count : int
initial : ^Applicative<'T>
Returns: ^e

sequence ms

Full Usage: sequence ms

Parameters:
    ms : ^Applicative<'T> list

Returns: ^Applicative>
Modifiers: inline

Evaluates each action in the list from left to right and collect the results.

ms : ^Applicative<'T> list
Returns: ^Applicative>

traverse f xs

Full Usage: traverse f xs

Parameters:
    f : 'T -> ^Applicative<'U>
    xs : 'T list

Returns: ^Applicative>
Modifiers: inline

Maps each element of the list to an action, evaluates these actions from left to right and collect the results.

f : 'T -> ^Applicative<'U>
xs : 'T list
Returns: ^Applicative>