QueueExtensions Class

DECLARATION
public static class QueueExtensions
NAMESPACE
LanguageExt

Methods

Append<T>(Que<T>, IEnumerable<T>)
PARAMETERS
lhs
Que<T>
rhs
IEnumerable<T>
DECLARATION
[Pure]
public static IEnumerable<T> Append<T>(this Que<T> lhs, IEnumerable<T> rhs)
RETURNS
IEnumerable<T>
Choose<T, U>(Que<T>, Func<T, Option<U>>)
PARAMETERS
queue
Que<T>
selector
Func<T, Option<U>>
DECLARATION
[Pure]
public static IEnumerable<U> Choose<T, U>(this Que<T> queue, Func<T, Option<U>> selector)
RETURNS
IEnumerable<U>
Choose<T, U>(Que<T>, Func<int, T, Option<U>>)
PARAMETERS
queue
Que<T>
selector
Func<int, T, Option<U>>
DECLARATION
[Pure]
public static IEnumerable<U> Choose<T, U>(this Que<T> queue, Func<int, T, Option<U>> selector)
RETURNS
IEnumerable<U>
Collect<T, R>(Que<T>, Func<T, IEnumerable<R>>)
PARAMETERS
queue
Que<T>
map
Func<T, IEnumerable<R>>
DECLARATION
[Pure]
public static IEnumerable<R> Collect<T, R>(this Que<T> queue, Func<T, IEnumerable<R>> map)
RETURNS
IEnumerable<R>
Distinct<T>(Que<T>)
PARAMETERS
queue
Que<T>
DECLARATION
[Pure]
public static IEnumerable<T> Distinct<T>(Que<T> queue)
RETURNS
IEnumerable<T>
Exists<T>(Que<T>, Func<T, bool>)
PARAMETERS
queue
Que<T>
pred
Func<T, bool>
DECLARATION
[Pure]
public static bool Exists<T>(Que<T> queue, Func<T, bool> pred)
RETURNS
bool
Filter<T>(Que<T>, Func<T, bool>)
PARAMETERS
queue
Que<T>
predicate
Func<T, bool>
DECLARATION
[Pure]
public static IEnumerable<T> Filter<T>(this Que<T> queue, Func<T, bool> predicate)
RETURNS
IEnumerable<T>
Find<T>(Que<T>, Func<T, bool>)
PARAMETERS
queue
Que<T>
pred
Func<T, bool>
DECLARATION
[Pure]
public static Option<T> Find<T>(this Que<T> queue, Func<T, bool> pred)
RETURNS
Option<T>
Fold<S, T>(Que<T>, S, Func<S, T, S>)
PARAMETERS
queue
Que<T>
state
S
folder
Func<S, T, S>
DECLARATION
[Pure]
public static S Fold<S, T>(this Que<T> queue, S state, Func<S, T, S> folder)
RETURNS
S
FoldBack<S, T>(Que<T>, S, Func<S, T, S>)
PARAMETERS
queue
Que<T>
state
S
folder
Func<S, T, S>
DECLARATION
[Pure]
public static S FoldBack<S, T>(this Que<T> queue, S state, Func<S, T, S> folder)
RETURNS
S
ForAll<T>(Que<T>, Func<T, bool>)
PARAMETERS
queue
Que<T>
pred
Func<T, bool>
DECLARATION
[Pure]
public static bool ForAll<T>(this Que<T> queue, Func<T, bool> pred)
RETURNS
bool
Iter<T>(Que<T>, Action<T>)
PARAMETERS
queue
Que<T>
action
Action<T>
DECLARATION
public static Unit Iter<T>(this Que<T> queue, Action<T> action)
Iter<T>(Que<T>, Action<int, T>)
PARAMETERS
queue
Que<T>
action
Action<int, T>
DECLARATION
public static Unit Iter<T>(this Que<T> queue, Action<int, T> action)
Length<T>(Que<T>)
PARAMETERS
queue
Que<T>
DECLARATION
[Pure]
public static int Length<T>(this Que<T> queue)
RETURNS
int
Map<T, R>(Que<T>, Func<T, R>)
PARAMETERS
queue
Que<T>
map
Func<T, R>
DECLARATION
[Pure]
public static IEnumerable<R> Map<T, R>(this Que<T> queue, Func<T, R> map)
RETURNS
IEnumerable<R>
Map<T, R>(Que<T>, Func<int, T, R>)
PARAMETERS
queue
Que<T>
map
Func<int, T, R>
DECLARATION
[Pure]
public static IEnumerable<R> Map<T, R>(this Que<T> queue, Func<int, T, R> map)
RETURNS
IEnumerable<R>
Peek<T>(Que<T>)
PARAMETERS
queue
Que<T>
DECLARATION
[Pure]
public static Option<T> Peek<T>(this Que<T> queue)
RETURNS
Option<T>
PeekUnsafe<T>(Que<T>)
PARAMETERS
queue
Que<T>
DECLARATION
[Pure]
public static T PeekUnsafe<T>(this Que<T> queue)
RETURNS
T
Pop<T>(Que<T>)
PARAMETERS
queue
Que<T>
DECLARATION
[Pure]
public static ValueTuple<Que<T>, Option<T>> Pop<T>(this Que<T> queue)
RETURNS
ValueTuple<Que<T>, Option<T>>
PopUnsafe<T>(Que<T>)
PARAMETERS
queue
Que<T>
DECLARATION
[Pure]
public static ValueTuple<Que<T>, T> PopUnsafe<T>(this Que<T> queue)
RETURNS
ValueTuple<Que<T>, T>
Reduce<T>(Que<T>, Func<T, T, T>)
PARAMETERS
queue
Que<T>
reducer
Func<T, T, T>
DECLARATION
[Pure]
public static T Reduce<T>(this Que<T> queue, Func<T, T, T> reducer)
RETURNS
T
ReduceBack<T>(Que<T>, Func<T, T, T>)
PARAMETERS
queue
Que<T>
reducer
Func<T, T, T>
DECLARATION
[Pure]
public static T ReduceBack<T>(this Que<T> queue, Func<T, T, T> reducer)
RETURNS
T
Rev<T>(Que<T>)
PARAMETERS
queue
Que<T>
DECLARATION
[Pure]
public static IEnumerable<T> Rev<T>(this Que<T> queue)
RETURNS
IEnumerable<T>
Scan<S, T>(Que<T>, S, Func<S, T, S>)
PARAMETERS
queue
Que<T>
state
S
folder
Func<S, T, S>
DECLARATION
[Pure]
public static IEnumerable<S> Scan<S, T>(this Que<T> queue, S state, Func<S, T, S> folder)
RETURNS
IEnumerable<S>
ScanBack<S, T>(Que<T>, S, Func<S, T, S>)
PARAMETERS
queue
Que<T>
state
S
folder
Func<S, T, S>
DECLARATION
[Pure]
public static IEnumerable<S> ScanBack<S, T>(this Que<T> queue, S state, Func<S, T, S> folder)
RETURNS
IEnumerable<S>