FSharpx.Extras


ArrayQueue Module

Types

Type Description

Queue<'T>

Functions and values

Function or value Description

dequeue queue

Full Usage: dequeue queue

Parameters:
Returns: Stm<unit>
queue : Queue<'a>
Returns: Stm<unit>

enqueue queue item

Full Usage: enqueue queue item

Parameters:
    queue : Queue<'a>
    item : 'a

Returns: Stm<unit>
queue : Queue<'a>
item : 'a
Returns: Stm<unit>

newQueueClass n

Full Usage: newQueueClass n

Parameters:
    n : int

Returns: Queue<'a>
n : int
Returns: Queue<'a>

newQueueStruct n

Full Usage: newQueueStruct n

Parameters:
    n : int

Returns: Queue<'a>
n : int
Returns: Queue<'a>

ofList n list

Full Usage: ofList n list

Parameters:
    n : int
    list : 'a list

Returns: Queue<'a>
n : int
list : 'a list
Returns: Queue<'a>

toList queue

Full Usage: toList queue

Parameters:
Returns: Stm<'a list>
queue : Queue<'a>
Returns: Stm<'a list>