Queue Module
Functions and values
Function or value |
Description
|
|
|
|
|
Full Usage:
Queue.head q
Parameters:
Queue<'T>
Returns: 'T
Modifiers: inline Type parameters: 'T |
|
Full Usage:
Queue.isEmpty q
Parameters:
Queue<'T>
Returns: bool
Modifiers: inline Type parameters: 'T |
|
Full Usage:
Queue.length q
Parameters:
Queue<'T>
Returns: int
Modifiers: inline Type parameters: 'T |
|
|
|
|
|
Full Usage:
Queue.rev q
Parameters:
Queue<'T>
Returns: 'T seq
Modifiers: inline Type parameters: 'T |
|
Full Usage:
Queue.skipExists n f p q
Parameters:
int
f : 'T -> bool
p : 'T array -> bool
q : Queue<'T>
Returns: bool
Modifiers: inline Type parameters: 'T |
Equivalent of q |> Queue.toSeq |> Seq.skip n |> Seq.skipWhile p |> Seq.exists f
|
Full Usage:
Queue.toSeq q
Parameters:
Queue<'T>
Returns: 'T seq
Modifiers: inline Type parameters: 'T |
|
Full Usage:
Queue.tryHead q
Parameters:
Queue<'T>
Returns: 'T option
Modifiers: inline Type parameters: 'T |
|