Function or value | Description |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
fold f state l
Parameters:
'State -> 'T -> 'State
state : 'State
l : DList<'T>
Returns: 'State
|
|
Full Usage:
foldBack f l state
Parameters:
'T -> 'State -> 'State
l : DList<'T>
state : '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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|