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