DotNetLightning


List Module

Functions and values

Function or value Description

sequenceAsyncA x

Full Usage: sequenceAsyncA x

Parameters:
Returns: Async<'a list>

Transform a "list" into a "Async" and collect the results using apply.

x : Async<'a> list
Returns: Async<'a list>

traverseAsyncA f list

Full Usage: traverseAsyncA f list

Parameters:
    f : 'a -> Async<'b>
    list : 'a list

Returns: Async<'b list>

Map a Async producing function over a list to get a new Async using applicative style. ('a -> Async<'b>) -> 'a list -> Async<'b list>

f : 'a -> Async<'b>
list : 'a list
Returns: Async<'b list>