Function or value | Description |
|
O(n). Creates a flatlist that contains the elements of one flatlist followed by the elements of another flatlist.
|
|
O(n). Applies the supplied function to each element of a flatlist, concatenates the results, and returns the combined flatlist.
|
|
|
|
|
Full Usage:
FlatList.exists arg1 arg2
Parameters:
'T -> bool
arg1 : FlatList<'T>
Returns: bool
|
|
|
O(n). Returns a flatlist that contains only the elements of the supplied flatlist for which the supplied condition returns true.
|
Full Usage:
FlatList.fold arg1 arg2 arg3
Parameters:
'State -> 'T -> 'State
arg1 : 'State
arg2 : FlatList<'T>
Returns: 'State
|
O(n). Applies a function to each element of a flatlist from left to right (first to last), threading an accumulator argument through the computation.
|
|
O(n). Applies a function to pairs of elements from two supplied flatlists, left-to-right, threading an accumulator argument through the computation. The two input flatlists must have the same lengths; otherwise, ArgumentException is raised.
|
Full Usage:
FlatList.foldBack arg1 arg2 arg3
Parameters:
'T -> 'State -> 'State
arg1 : FlatList<'T>
arg2 : 'State
Returns: 'State
|
O(n). Applies a function to each element of a flatlist from right to left (last to first), threading an accumulator argument through the computation.
|
|
O(n). Applies a function to pairs of elements from two supplied flatlists, right-to-left, threading an accumulator argument through the computation. The two input flatlists must have the same lengths; otherwise, ArgumentException is raised.
|
Full Usage:
FlatList.forall arg1 arg2
Parameters:
'T -> bool
arg1 : FlatList<'T>
Returns: bool
|
|
|
O(n). Tests whether all corresponding elements of two supplied flatlists satisfy a supplied condition.
|
|
|
|
|
|
|
|
|
|
O(n). Applies the supplied function to each element of a flatlist. The integer passed to the function indicates the index of the element.
|
|
|
|
O(n). Creates a flatlist whose elements are the results of applying the supplied function to each of the elements of a supplied flatlist.
|
|
O(n). Creates a flatlist whose elements are the results of applying the supplied function to the corresponding elements of two supplied flatlists. The two input flatlists must have the same lengths; otherwise, ArgumentException is raised.
|
|
O(n). Creates a flatlist whose elements are the results of applying the supplied function to each of the elements of a supplied flatlist. An integer index passed to the function indicates the index of the element being transformed.
|
|
|
|
|
|
O(n). Splits a flatlist into two flatlists, one containing the elements for which the supplied condition returns true, and the other containing those for which it returns false.
|
|
|
|
|
|
|
|
|
|
O(n). Returns the sum of the results generated by applying a function to each element of a flatlist.
|
|
|
|
|
Full Usage:
FlatList.tryFind arg1 arg2
Parameters:
'T -> bool
arg1 : FlatList<'T>
Returns: 'T option
|
O(n). Returns the first element in the supplied flatlist for which the supplied function returns true. Returns None if no such element exists.
|
|
|
|
O(n). Combines two flatlists into a flatlist of tuples that have two elements. The two flatlists must have equal lengths; otherwise, ArgumentException is raised.
|