Function or value | Description |
|
|
|
|
|
|
|
|
Full Usage:
DList.fold arg1 arg2 arg3
Parameters:
'State -> 'T -> 'State
arg1 : 'State
arg2 : DList<'T>
Returns: 'State
|
|
Full Usage:
DList.foldBack arg1 arg2 arg3
Parameters:
'T -> 'State -> 'State
arg1 : DList<'T>
arg2 : 'State
Returns: 'State
|
O(n). Fold walks the DList using constant stack space. Implementation is from Norman Ramsey. See http://stackoverflow.com/questions/5324623/functional-o1-append-and-on-iteration-from-first-element-list-data-structure/5334068#5334068
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|