LanguageExt.Core

LanguageExt.Core Immutable Collections HashSet Extensions

Contents

class HashSetExtensions Source #

Methods

method HashSet<A> As <A> (this K<HashSet, A> ma) Source #

method IQueryable<A> AsQueryable <A> (this HashSet<A> source) Source #

Convert to a queryable

class HashSetExtensions Source #

Methods

method HashSet<B> Map <A, B> (this Func<A, B> f, K<HashSet, 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

param f

Mapping function

returns

Mapped functor

method HashSet<B> Map <A, B> (this Func<A, B> f, HashSet<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

param f

Mapping function

returns

Mapped functor

method HashSet<B> Action <A, B> (this HashSet<A> ma, K<HashSet, B> mb) Source #

Applicative action: runs the first applicative, ignores the result, and returns the second applicative

method HashSet<B> Action <A, B> (this K<HashSet, A> ma, K<HashSet, B> mb) Source #

Applicative action: runs the first applicative, ignores the result, and returns the second applicative

method HashSet<B> Apply <A, B> (this HashSet<Func<A, B>> mf, K<HashSet, A> ma) Source #

Applicative functor apply operation

Unwraps the value within the ma applicative-functor, passes it to the unwrapped function(s) within mf, and then takes the resulting value and wraps it back up into a new applicative-functor.

Parameters

param ma

Value(s) applicative functor

param mf

Mapping function(s)

returns

Mapped applicative functor

method HashSet<B> Apply <A, B> (this K<HashSet, Func<A, B>> mf, K<HashSet, A> ma) Source #

Applicative functor apply operation

Unwraps the value within the ma applicative-functor, passes it to the unwrapped function(s) within mf, and then takes the resulting value and wraps it back up into a new applicative-functor.

Parameters

param ma

Value(s) applicative functor

param mf

Mapping function(s)

returns

Mapped applicative functor