Header menu logo fantomas

Queue Module

Functions and values

Function or value Description

Queue.append q xs

Full Usage: Queue.append q xs

Parameters:
    q : Queue<'T>
    xs : 'T list

Returns: Queue<'T>
Modifiers: inline
Type parameters: 'T
q : Queue<'T>
xs : 'T list
Returns: Queue<'T>

Queue.empty

Full Usage: Queue.empty

Returns: Queue<'T>
Returns: Queue<'T>

Queue.head q

Full Usage: Queue.head q

Parameters:
Returns: 'T
Modifiers: inline
Type parameters: 'T
q : Queue<'T>
Returns: 'T

Queue.isEmpty q

Full Usage: Queue.isEmpty q

Parameters:
Returns: bool
Modifiers: inline
Type parameters: 'T
q : Queue<'T>
Returns: bool

Queue.length q

Full Usage: Queue.length q

Parameters:
Returns: int
Modifiers: inline
Type parameters: 'T
q : Queue<'T>
Returns: int

Queue.ofList xs

Full Usage: Queue.ofList xs

Parameters:
    xs : 'T list

Returns: Queue<'T>
xs : 'T list
Returns: Queue<'T>

Queue.ofSeq xs

Full Usage: Queue.ofSeq xs

Parameters:
    xs : 'T seq

Returns: Queue<'T>
xs : 'T seq
Returns: Queue<'T>

Queue.rev q

Full Usage: Queue.rev q

Parameters:
Returns: 'T seq
Modifiers: inline
Type parameters: 'T
q : Queue<'T>
Returns: 'T seq

Queue.skipExists n f p q

Full Usage: Queue.skipExists n f p q

Parameters:
    n : 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

n : int
f : 'T -> bool
p : 'T array -> bool
q : Queue<'T>
Returns: bool

Queue.toSeq q

Full Usage: Queue.toSeq q

Parameters:
Returns: 'T seq
Modifiers: inline
Type parameters: 'T
q : Queue<'T>
Returns: 'T seq

Queue.tryHead q

Full Usage: Queue.tryHead q

Parameters:
Returns: 'T option
Modifiers: inline
Type parameters: 'T
q : Queue<'T>
Returns: 'T option

Type something to start searching.