LanguageExt.Core

LanguageExt.Core DataTypes Tuple

Contents

Sub modules

Tuple1
Tuple2
Tuple3
Tuple4
Tuple5
Tuple6
Tuple7

class Prelude Source #

Methods

method IEnumerable<int> AsEnumerable (this (int from, int count) range) Source #

As an enumerable

method Seq<int> ToSeq (this (int from, int count) range) Source #

Convert to a lazy seq

method IEnumerable<B> Map <B> (this (int from, int count) range, Func<int, B> f) Source #

Functor map

method IEnumerable<B> Select <B> (this (int from, int count) range, Func<int, B> f) Source #

Functor map

method IEnumerable<B> Bind <B> (this (int from, int count) range, Func<int, IEnumerable<B>> f) Source #

Monadic bind

method IEnumerable<B> SelectMany <B> (this (int from, int count) range, Func<int, IEnumerable<B>> f) Source #

Monadic bind

method IEnumerable<C> SelectMany <B, C> (this (int from, int count) range, Func<int, IEnumerable<B>> bind, Func<int, B, C> project) Source #

Combination of monadic bind and functor map

method IEnumerable<int> Filter (this (int from, int count) range, Func<int, bool> f) Source #

Removes items from the sequence that return false when the predicate is applied

method IEnumerable<int> Where (this (int from, int count) range, Func<int, bool> f) Source #

Removes items from the sequence that return false when the predicate is applied

method S Fold <S> (this (int from, int count) range, S state, Func<S, int, S> f) Source #

Creates an aggregate value from all items in the sequence, starting at the first item

method S FoldBack <S> (this (int from, int count) range, S state, Func<S, int, S> f) Source #

Creates an aggregate value from all items in the sequence, starting at the last item

method bool Exists (this (int from, int count) range, Func<int, bool> f) Source #

Does the predicate hold for any item

method bool ForAll (this (int from, int count) range, Func<int, bool> f) Source #

Does the predicate hold for all items

class Prelude Source #

Methods

method Tuple<T1> Tuple <T1> (T1 item1) Source #

Tuple constructor

method Tuple<T1, T2> Tuple <T1, T2> (T1 item1, T2 item2) Source #

Tuple constructor

method Tuple<T1, T2, T3> Tuple <T1, T2, T3> (T1 item1, T2 item2, T3 item3) Source #

Tuple constructor

method Tuple<T1, T2, T3, T4> Tuple <T1, T2, T3, T4> (T1 item1, T2 item2, T3 item3, T4 item4) Source #

Tuple constructor

method Tuple<T1, T2, T3, T4, T5> Tuple <T1, T2, T3, T4, T5> (T1 item1, T2 item2, T3 item3, T4 item4, T5 item5) Source #

Tuple constructor

method Tuple<T1, T2, T3, T4, T5, T6> Tuple <T1, T2, T3, T4, T5, T6> (T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6) Source #

Tuple constructor

method Tuple<T1, T2, T3, T4, T5, T6, T7> Tuple <T1, T2, T3, T4, T5, T6, T7> (T1 item1, T2 item2, T3 item3, T4 item4, T5 item5, T6 item6, T7 item7) Source #

Tuple constructor