Function or value | Description |
|
|
|
|
|
|
Full Usage:
Deque.fold arg1 arg2 arg3
Parameters:
'State -> 'T -> 'State
arg1 : 'State
arg2 : Deque<'T>
Returns: 'State
|
O(n). Applies a function to each element of the deque, threading an accumulator argument through the computation, left to right
|
Full Usage:
Deque.foldBack arg1 arg2 arg3
Parameters:
'T -> 'State -> 'State
arg1 : Deque<'T>
arg2 : 'State
Returns: 'State
|
O(n). Applies a function to each element of the deque, threading an accumulator argument through the computation, right to left
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|