Function or value | Description |
|
|
Full Usage:
PhysicistQueue.fold f state q
Parameters:
'State -> 'T -> 'State
state : 'State
q : PhysicistQueue<'T>
Returns: 'State
|
O(n). Applies a function to each element of the queue, threading an accumulator argument through the computation, left to right.
|
Full Usage:
PhysicistQueue.foldBack f q state
Parameters:
'T -> 'State -> 'State
q : PhysicistQueue<'T>
state : 'State
Returns: 'State
|
O(n). Applies a function to each element of the queue, threading an accumulator argument through the computation, right to left.
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
PhysicistQueue.snoc x q
Parameters:
'T
q : PhysicistQueue<'T>
Returns: PhysicistQueue<'T>
|
|
|
|
|
|
Full Usage:
PhysicistQueue.tryGetTail q
Parameters:
PhysicistQueue<'T>
Returns: PhysicistQueue<'T> option
|
|
Full Usage:
PhysicistQueue.tryUncons q
Parameters:
PhysicistQueue<'T>
Returns: ('T * PhysicistQueue<'T>) option
|
|
Full Usage:
PhysicistQueue.uncons q
Parameters:
PhysicistQueue<'T>
Returns: 'T * PhysicistQueue<'T>
|
|
Active pattern | Description |
Full Usage:
PhysicistQueue.(|Cons|Nil|) q
Parameters:
PhysicistQueue<'T>
Returns: Choice<('T * PhysicistQueue<'T>), unit>
|
|