LanguageExt.Core

LanguageExt.Core Type Classes EqAsync

Contents

interface EqAsync <A> Source #

Equality type-class for asynchronous types

Parameters

type A

The type for which equality is defined

class TypeClass Source #

Methods

method Task<bool> equalsAsync <EqA, A> (Task<A> x, Task<A> y) Source #

where EqA : struct, EqAsync<A>

Structural equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal

method Task<bool> equalsAsync <EqA, A> (OptionAsync<A> x, OptionAsync<A> y) Source #

where EqA : struct, EqAsync<A>

Structural equality test

Parameters

param x

The left hand side of the equality operation

param y

The right hand side of the equality operation

returns

True if x and y are equal