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