LanguageExt.Core

LanguageExt.Core Immutable Collections IterableNE Extensions

Contents

class IterableNEExtensions Source #

Methods

method IterableNE<A> As <A> (this K<IterableNE, A> xs) Source #

method Option<IterableNE<A>> AsIterableNE <A> (this IEnumerable<A> xs) Source #

method IO<IterableNE<A>> AsIterableNE <A> (this IAsyncEnumerable<A> xs) Source #

method Option<IterableNE<A>> AsIterableNE <A> (this Seq<A> xs) Source #

method Option<IterableNE<A>> AsIterableNE <A> (this Arr<A> xs) Source #

method Option<IterableNE<A>> AsIterableNE <A> (this Lst<A> xs) Source #

method Option<IterableNE<A>> Flatten <A> (this IterableNE<IterableNE<A>> ma) Source #

Monadic join

method Iterable<B> Choose <B> (Func<A, Option<B>> selector) Source #

Applies the given function 'selector' to each element of the sequence. Returns the sequence comprised of the results for each element where the function returns Some(f(x)).

Parameters

param selector

Selector function

returns

Mapped and filtered sequence

class IterableNEExtensions Source #

Methods

method IterableNE<B> Map (K<IterableNE, A> ma) Source #

Functor map operation

Unwraps the value within the functor, passes it to the map function f provided, and then takes the mapped value and wraps it back up into a new functor.

Parameters

param ma

Functor to map

returns

Mapped functor

method IterableNE<B> Map (IterableNE<A> ma) Source #

Functor map operation

Unwraps the value within the functor, passes it to the map function f provided, and then takes the mapped value and wraps it back up into a new functor.

Parameters

param ma

Functor to map

returns

Mapped functor