LanguageExt.Core

LanguageExt.Core Class Instances Eq

Contents

struct EqArr <EqA, A> Source #

where EqA : struct, Eq<A>

Array equality

Fields

Methods

method bool Equals (Arr<A> x, Arr<A> y) Source #

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 int GetHashCode (Arr<A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (Arr<A> x, Arr<A> y) Source #

method Task<int> GetHashCodeAsync (Arr<A> x) Source #

struct EqArr <A> Source #

Array equality

Fields

Methods

method bool Equals (Arr<A> x, Arr<A> y) Source #

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 int GetHashCode (Arr<A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (Arr<A> x, Arr<A> y) Source #

method Task<int> GetHashCodeAsync (Arr<A> x) Source #

struct EqArray <EqA, A> Source #

where EqA : struct, Eq<A>

Array equality

Fields

Methods

method bool Equals (A[] x, A[] y) Source #

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 int GetHashCode (A[] x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (A[] x, A[] y) Source #

method Task<int> GetHashCodeAsync (A[] x) Source #

struct EqArray <A> Source #

Array equality

Fields

Methods

method bool Equals (A[] x, A[] y) Source #

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 int GetHashCode (A[] x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (A[] x, A[] y) Source #

method Task<int> GetHashCodeAsync (A[] x) Source #

struct EqBigInt Source #

Integer equality

Fields

Methods

method bool Equals (bigint a, bigint b) Source #

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 int GetHashCode (bigint x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (bigint x, bigint y) Source #

method Task<int> GetHashCodeAsync (bigint x) Source #

struct EqBool Source #

Boolean equality

Fields

Methods

method bool Equals (bool a, bool b) Source #

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 int GetHashCode (bool x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (bool x, bool y) Source #

method Task<int> GetHashCodeAsync (bool x) Source #

struct EqChar Source #

Char equality

Fields

Methods

method bool Equals (char a, char b) Source #

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 int GetHashCode (char x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (char x, char y) Source #

method Task<int> GetHashCodeAsync (char x) Source #

struct EqCharOrdinalIgnoreCase Source #

Char equality (ordinal, ignore case)

Fields

field EqCharOrdinalIgnoreCase Inst = default(EqCharOrdinalIgnoreCase) Source #

Methods

method bool Equals (char a, char b) Source #

Equality test

Parameters

param a

The left hand side of the equality operation

param b

The right hand side of the equality operation

returns

True if a and b are equal

method int GetHashCode (char x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (char x, char y) Source #

method Task<int> GetHashCodeAsync (char x) Source #

struct EqChoice <EQA, EQB, CHOICE, CH, A, B> Source #

where CHOICE : struct, Choice<CH, A, B>
where EQA : struct, Eq<A>
where EQB : struct, Eq<B>

Compare the equality of any type in the Either type-class

Fields

field EqChoice<EQA, EQB, CHOICE, CH, A, B> Inst = default(EqChoice<EQA, EQB, CHOICE, CH, A, B>) Source #

Methods

method bool Equals (CH x, CH y) Source #

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 int GetHashCode (CH x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (CH x, CH y) Source #

method Task<int> GetHashCodeAsync (CH x) Source #

struct EqChoice <EQB, CHOICE, CH, A, B> Source #

where CHOICE : struct, Choice<CH, A, B>
where EQB : struct, Eq<B>

Compare the equality of any type in the Either type-class

Fields

field EqChoice<EQB, CHOICE, CH, A, B> Inst = default(EqChoice<EQB, CHOICE, CH, A, B>) Source #

Methods

method bool Equals (CH x, CH y) Source #

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 int GetHashCode (CH x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<int> GetHashCodeAsync (CH x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (CH x, CH y) Source #

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

struct EqChoice <CHOICE, CH, A, B> Source #

where CHOICE : struct, Choice<CH, A, B>

Compare the equality of any type in the Either type-class

Fields

field EqChoice<CHOICE, CH, A, B> Inst = default(EqChoice<CHOICE, CH, A, B>) Source #

Methods

method bool Equals (CH x, CH y) Source #

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 int GetHashCode (CH x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (CH x, CH y) Source #

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<int> GetHashCodeAsync (CH x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

struct EqChoiceUnsafe <EQA, EQB, CHOICE, CH, A, B> Source #

where CHOICE : struct, ChoiceUnsafe<CH, A, B>
where EQA : struct, Eq<A>
where EQB : struct, Eq<B>

Compare the equality of any type in the Either type-class

Fields

field EqChoiceUnsafe<EQA, EQB, CHOICE, CH, A, B> Inst = default(EqChoiceUnsafe<EQA, EQB, CHOICE, CH, A, B>) Source #

Methods

method bool Equals (CH x, CH y) Source #

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 int GetHashCode (CH x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (CH x, CH y) Source #

method Task<int> GetHashCodeAsync (CH x) Source #

struct EqChoiceUnsafe <EQB, CHOICE, CH, A, B> Source #

where CHOICE : struct, ChoiceUnsafe<CH, A, B>
where EQB : struct, Eq<B>

Compare the equality of any type in the Either type-class

Fields

field EqChoiceUnsafe<EQB, CHOICE, CH, A, B> Inst = default(EqChoiceUnsafe<EQB, CHOICE, CH, A, B>) Source #

Methods

method bool Equals (CH x, CH y) Source #

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 int GetHashCode (CH x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (CH x, CH y) Source #

method Task<int> GetHashCodeAsync (CH x) Source #

struct EqChoiceUnsafe <CHOICE, CH, A, B> Source #

where CHOICE : struct, ChoiceUnsafe<CH, A, B>

Compare the equality of any type in the Either type-class

Fields

field EqChoiceUnsafe<CHOICE, CH, A, B> Inst = default(EqChoiceUnsafe<CHOICE, CH, A, B>) Source #

Methods

method bool Equals (CH x, CH y) Source #

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 int GetHashCode (CH x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (CH x, CH y) Source #

method Task<int> GetHashCodeAsync (CH x) Source #

struct EqCompositions <A> Source #

Methods

method bool Equals (Compositions<A> x, Compositions<A> y) Source #

method int GetHashCode (Compositions<A> x) Source #

method Task<bool> EqualsAsync (Compositions<A> x, Compositions<A> y) Source #

method Task<int> GetHashCodeAsync (Compositions<A> x) Source #

struct EqDateTime Source #

DateTime equality

Fields

Methods

method bool Equals (DateTime a, DateTime b) Source #

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 int GetHashCode (DateTime x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (DateTime x, DateTime y) Source #

method Task<int> GetHashCodeAsync (DateTime x) Source #

struct EqDecimal Source #

Floating point equality

Fields

Methods

method bool Equals (decimal a, decimal b) Source #

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 int GetHashCode (decimal x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (decimal x, decimal y) Source #

method Task<int> GetHashCodeAsync (decimal x) Source #

struct EqDefault <A> Source #

Finds an appropriate Eq from the loaded assemblies, if one can't be found then it falls back to the standard .NET EqualityComparer.Default.Equals(a,b) method to provide equality testing.

Methods

method bool Equals (A a, A b) Source #

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 int GetHashCode (A x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

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

method Task<int> GetHashCodeAsync (A x) Source #

class EqDefault <A, B> Source #

This is a utility type for when two generic types are used, but it's not clear if they have the same underlying type. We'd like to do structural equality if they are, and return false if they're not.

Methods

method bool Equals (A a, B b) Source #

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

struct EqDouble Source #

Floating point equality

Fields

Methods

method bool Equals (double a, double b) Source #

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 int GetHashCode (double x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (double x, double y) Source #

method Task<int> GetHashCodeAsync (double x) Source #

struct EqEdit <EqA, A> Source #

where EqA : struct, Eq<A>

Equality instance for Patch Edit

Methods

method bool Equals (Edit<EqA, A> x, Edit<EqA, A> y) Source #

method int GetHashCode (Edit<EqA, A> x) Source #

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

method Task<int> GetHashCodeAsync (Edit<EqA, A> x) Source #

struct EqEither <EqL, EqR, L, R> Source #

where EqL : struct, Eq<L>
where EqR : struct, Eq<R>

Either type hashing

Methods

method bool Equals (Either<L, R> x, Either<L, R> y) Source #

Equality test

method int GetHashCode (Either<L, R> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<int> GetHashCodeAsync (Either<L, R> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (Either<L, R> x, Either<L, R> y) Source #

Equality test

struct EqEither <L, R> Source #

Either type hashing

Methods

method bool Equals (Either<L, R> x, Either<L, R> y) Source #

Equality test

method int GetHashCode (Either<L, R> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<int> GetHashCodeAsync (Either<L, R> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (Either<L, R> x, Either<L, R> y) Source #

Equality test

struct EqEitherUnsafe <EqL, EqR, L, R> Source #

where EqL : struct, Eq<L>
where EqR : struct, Eq<R>

Either type hashing

Methods

method bool Equals (EitherUnsafe<L, R> x, EitherUnsafe<L, R> y) Source #

Equality test

method int GetHashCode (EitherUnsafe<L, R> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<int> GetHashCodeAsync (EitherUnsafe<L, R> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (EitherUnsafe<L, R> x, EitherUnsafe<L, R> y) Source #

Equality test

struct EqEitherUnsafe <L, R> Source #

Either type hashing

Methods

method bool Equals (EitherUnsafe<L, R> x, EitherUnsafe<L, R> y) Source #

Equality test

method int GetHashCode (EitherUnsafe<L, R> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<int> GetHashCodeAsync (EitherUnsafe<L, R> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (EitherUnsafe<L, R> x, EitherUnsafe<L, R> y) Source #

Equality test

struct EqEnumerable <EQ, A> Source #

where EQ : struct, Eq<A>

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

Fields

field EqEnumerable<EQ, A> Inst = default(EqEnumerable<EQ, A>) Source #

Methods

method bool Equals (IEnumerable<A> x, IEnumerable<A> y) Source #

Equality check

method int GetHashCode (IEnumerable<A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (IEnumerable<A> x, IEnumerable<A> y) Source #

method Task<int> GetHashCodeAsync (IEnumerable<A> x) Source #

struct EqEnumerable <A> Source #

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

Fields

Methods

method bool Equals (IEnumerable<A> x, IEnumerable<A> y) Source #

Equality check

method int GetHashCode (IEnumerable<A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (IEnumerable<A> x, IEnumerable<A> y) Source #

method Task<int> GetHashCodeAsync (IEnumerable<A> x) Source #

struct EqException Source #

Methods

method int GetHashCode (Exception x) Source #

method bool Equals (Exception x, Exception y) Source #

method Task<bool> EqualsAsync (Exception x, Exception y) Source #

method Task<int> GetHashCodeAsync (Exception x) Source #

struct EqFloat Source #

Floating point equality

Fields

Methods

method bool Equals (float a, float b) Source #

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 int GetHashCode (float x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (float x, float y) Source #

method Task<int> GetHashCodeAsync (float x) Source #

struct EqGuid Source #

Guid equality

Fields

Methods

method bool Equals (Guid a, Guid b) Source #

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 int GetHashCode (Guid x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (Guid x, Guid y) Source #

method Task<int> GetHashCodeAsync (Guid x) Source #

struct EqHashSet <EQ, A> Source #

where EQ : struct, Eq<A>

HashSet equality

Fields

field EqHashSet<EQ, A> Inst = default(EqHashSet<EQ, A>) Source #

Methods

method bool Equals (HashSet<A> x, HashSet<A> y) Source #

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 int GetHashCode (HashSet<A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (HashSet<A> x, HashSet<A> y) Source #

method Task<int> GetHashCodeAsync (HashSet<A> x) Source #

struct EqHashSet <A> Source #

HashSet equality

Fields

Methods

method bool Equals (HashSet<A> x, HashSet<A> y) Source #

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 int GetHashCode (HashSet<A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (HashSet<A> x, HashSet<A> y) Source #

method Task<int> GetHashCodeAsync (HashSet<A> x) Source #

struct EqIdentity <A> Source #

Identity equality

Fields

Methods

method bool Equals (Identity<A> a, Identity<A> b) Source #

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 int GetHashCode (Identity<A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (Identity<A> x, Identity<A> y) Source #

method Task<int> GetHashCodeAsync (Identity<A> x) Source #

struct EqInt Source #

Integer equality

Fields

Methods

method bool Equals (int a, int b) Source #

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 int GetHashCode (int x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (int x, int y) Source #

method Task<int> GetHashCodeAsync (int x) Source #

struct EqLong Source #

Integer equality

Fields

Methods

method bool Equals (long a, long b) Source #

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 int GetHashCode (long x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (long x, long y) Source #

method Task<int> GetHashCodeAsync (long x) Source #

struct EqLst <EQ, A> Source #

where EQ : struct, Eq<A>

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

Fields

Methods

method bool Equals (Lst<A> x, Lst<A> y) Source #

method int GetHashCode (Lst<A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (Lst<A> x, Lst<A> y) Source #

method Task<int> GetHashCodeAsync (Lst<A> x) Source #

struct EqLst <A> Source #

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

Fields

Methods

method bool Equals (Lst<A> x, Lst<A> y) Source #

method int GetHashCode (Lst<A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (Lst<A> x, Lst<A> y) Source #

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<int> GetHashCodeAsync (Lst<A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

struct EqMap <K, V> Source #

Methods

method bool Equals (Map<K, V> x, Map<K, V> y) Source #

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 int GetHashCode (Map<K, V> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

method Task<bool> EqualsAsync (Map<K, V> x, Map<K, V> y) Source #

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<int> GetHashCodeAsync (Map<K, V> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

struct EqMap <OrdK, K, V> Source #

where OrdK : struct, Ord<K>

Methods

method bool Equals (Map<OrdK, K, V> x, Map<OrdK, K, V> y) Source #

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 int GetHashCode (Map<OrdK, K, V> x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

method Task<bool> EqualsAsync (Map<OrdK, K, V> x, Map<OrdK, K, V> y) Source #

method Task<int> GetHashCodeAsync (Map<OrdK, K, V> x) Source #

struct EqNewType <NEWTYPE, EQ, A> Source #

where EQ : struct, Eq<A>
where NEWTYPE : NewType<NEWTYPE, A>

Compare the equality of any type in the NewType type-class

Fields

field EqNewType<NEWTYPE, EQ, A> Inst = default(EqNewType<NEWTYPE, EQ, A>) Source #

Methods

method bool Equals (NewType<NEWTYPE, A> x, NewType<NEWTYPE, A> y) Source #

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 int GetHashCode (NewType<NEWTYPE, A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (NewType<NEWTYPE, A> x, NewType<NEWTYPE, A> y) Source #

method Task<int> GetHashCodeAsync (NewType<NEWTYPE, A> x) Source #

struct EqNewType <NEWTYPE, A> Source #

where NEWTYPE : NewType<NEWTYPE, A>

Compare the equality of any type in the NewType type-class

Fields

field EqNewType<NEWTYPE, A> Inst = default(EqNewType<NEWTYPE, A>) Source #

Methods

method bool Equals (NewType<NEWTYPE, A> x, NewType<NEWTYPE, A> y) Source #

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 int GetHashCode (NewType<NEWTYPE, A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (NewType<NEWTYPE, A> x, NewType<NEWTYPE, A> y) Source #

method Task<int> GetHashCodeAsync (NewType<NEWTYPE, A> x) Source #

struct EqNewType <NEWTYPE, ORD, A, PRED> Source #

where ORD : struct, Ord<A>
where PRED : struct, Pred<A>
where NEWTYPE : NewType<NEWTYPE, A, PRED, ORD>

Compare the equality of any type in the NewType type-class

Fields

field EqNewType<NEWTYPE, ORD, A, PRED> Inst = default(EqNewType<NEWTYPE, ORD, A, PRED>) Source #

Methods

method bool Equals (NewType<NEWTYPE, A, PRED, ORD> x, NewType<NEWTYPE, A, PRED, ORD> y) Source #

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 int GetHashCode (NewType<NEWTYPE, A, PRED, ORD> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (NewType<NEWTYPE, A, PRED, ORD> x, NewType<NEWTYPE, A, PRED, ORD> y) Source #

method Task<int> GetHashCodeAsync (NewType<NEWTYPE, A, PRED, ORD> x) Source #

struct EqNumType <NUMTYPE, NUM, A> Source #

where NUM : struct, Num<A>
where NUMTYPE : NumType<NUMTYPE, NUM, A>

Compare the equality of any type in the NumType type-class

Methods

method bool Equals (NumType<NUMTYPE, NUM, A> x, NumType<NUMTYPE, NUM, A> y) Source #

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 int GetHashCode (NumType<NUMTYPE, NUM, A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (NumType<NUMTYPE, NUM, A> x, NumType<NUMTYPE, NUM, A> y) Source #

method Task<int> GetHashCodeAsync (NumType<NUMTYPE, NUM, A> x) Source #

struct EqNumType <NUMTYPE, NUM, A, PRED> Source #

where PRED : struct, Pred<A>
where NUM : struct, Num<A>
where NUMTYPE : NumType<NUMTYPE, NUM, A, PRED>

Compare the equality of any type in the NumType type-class

Methods

method bool Equals (NumType<NUMTYPE, NUM, A, PRED> x, NumType<NUMTYPE, NUM, A, PRED> y) Source #

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 int GetHashCode (NumType<NUMTYPE, NUM, A, PRED> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (NumType<NUMTYPE, NUM, A, PRED> x, NumType<NUMTYPE, NUM, A, PRED> y) Source #

method Task<int> GetHashCodeAsync (NumType<NUMTYPE, NUM, A, PRED> x) Source #

struct EqOption <A> Source #

Option type equality

Methods

method bool Equals (Option<A> x, Option<A> y) Source #

method int GetHashCode (Option<A> x) Source #

method Task<bool> EqualsAsync (Option<A> x, Option<A> y) Source #

method Task<int> GetHashCodeAsync (Option<A> x) Source #

struct EqOptional <EQ, OPTION, OA, A> Source #

where EQ : struct, Eq<A>
where OPTION : struct, Optional<OA, A>

Compare the equality of any type in the Optional type-class

Fields

field EqOptional<EQ, OPTION, OA, A> Inst = default(EqOptional<EQ, OPTION, OA, A>) Source #

Methods

method bool Equals (OA x, OA y) Source #

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 int GetHashCode (OA x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (OA x, OA y) Source #

method Task<int> GetHashCodeAsync (OA x) Source #

struct EqOptional <OPTION, OA, A> Source #

where OPTION : struct, Optional<OA, A>

Compare the equality of any type in the Optional type-class

Fields

field EqOptional<OPTION, OA, A> Inst = default(EqOptional<OPTION, OA, A>) Source #

Methods

method bool Equals (OA x, OA y) Source #

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 int GetHashCode (OA x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (OA x, OA y) Source #

method Task<int> GetHashCodeAsync (OA x) Source #

struct EqOptionalUnsafe <EQ, OPTION, OA, A> Source #

where EQ : struct, Eq<A>
where OPTION : struct, OptionalUnsafe<OA, A>

Compare the equality of any type in the Optional type-class

Fields

field EqOptionalUnsafe<EQ, OPTION, OA, A> Inst = default(EqOptionalUnsafe<EQ, OPTION, OA, A>) Source #

Methods

method bool Equals (OA x, OA y) Source #

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 int GetHashCode (OA x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (OA x, OA y) Source #

method Task<int> GetHashCodeAsync (OA x) Source #

struct EqOptionalUnsafe <OPTION, OA, A> Source #

where OPTION : struct, OptionalUnsafe<OA, A>

Compare the equality of any type in the Optional type-class

Fields

field EqOptionalUnsafe<OPTION, OA, A> Inst = default(EqOptionalUnsafe<OPTION, OA, A>) Source #

Methods

method bool Equals (OA x, OA y) Source #

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 int GetHashCode (OA x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (OA x, OA y) Source #

method Task<int> GetHashCodeAsync (OA x) Source #

struct EqOptionUnsafe <A> Source #

Option type equality

Methods

method bool Equals (OptionUnsafe<A> x, OptionUnsafe<A> y) Source #

method int GetHashCode (OptionUnsafe<A> x) Source #

method Task<bool> EqualsAsync (OptionUnsafe<A> x, OptionUnsafe<A> y) Source #

method Task<int> GetHashCodeAsync (OptionUnsafe<A> x) Source #

struct EqPatch <EqA, A> Source #

where EqA : struct, Eq<A>

Equality instance for Patch

Parameters

type EqA
type A

Methods

method bool Equals (Patch<EqA, A> x, Patch<EqA, A> y) Source #

method int GetHashCode (Patch<EqA, A> x) Source #

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

method Task<int> GetHashCodeAsync (Patch<EqA, A> x) Source #

struct EqQue <EQ, A> Source #

where EQ : struct, Eq<A>

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

Fields

Methods

method bool Equals (Que<A> x, Que<A> y) Source #

method int GetHashCode (Que<A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (Que<A> x, Que<A> y) Source #

method Task<int> GetHashCodeAsync (Que<A> x) Source #

struct EqQue <A> Source #

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

Fields

Methods

method bool Equals (Que<A> x, Que<A> y) Source #

method int GetHashCode (Que<A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (Que<A> x, Que<A> y) Source #

method Task<int> GetHashCodeAsync (Que<A> x) Source #

struct EqRecord <A> Source #

where A : Record<A>

Equality class instance for all record types

Parameters

type A

Record type

Methods

method bool Equals (A x, A y) Source #

method int GetHashCode (A x) Source #

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

method Task<int> GetHashCodeAsync (A x) Source #

struct EqResult <A> Source #

Methods

method bool Equals (Result<A> x, Result<A> y) Source #

method int GetHashCode (Result<A> x) Source #

method Task<bool> EqualsAsync (Result<A> x, Result<A> y) Source #

method Task<int> GetHashCodeAsync (Result<A> x) Source #

struct EqOptionalResult <A> Source #

Methods

method bool Equals (OptionalResult<A> x, OptionalResult<A> y) Source #

method int GetHashCode (OptionalResult<A> x) Source #

method Task<bool> EqualsAsync (OptionalResult<A> x, OptionalResult<A> y) Source #

method Task<int> GetHashCodeAsync (OptionalResult<A> x) Source #

struct EqSeq <EqA, A> Source #

where EqA : struct, Eq<A>

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

Fields

Methods

method bool Equals (Seq<A> x, Seq<A> y) Source #

Equality check

method int GetHashCode (Seq<A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (Seq<A> x, Seq<A> y) Source #

method Task<int> GetHashCodeAsync (Seq<A> x) Source #

struct EqSeq <A> Source #

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

Fields

Methods

method bool Equals (Seq<A> x, Seq<A> y) Source #

Equality check

method int GetHashCode (Seq<A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (Seq<A> x, Seq<A> y) Source #

method Task<int> GetHashCodeAsync (Seq<A> x) Source #

struct EqSet <EQ, A> Source #

where EQ : struct, Eq<A>

Set equality

Fields

Methods

method bool Equals (Set<A> x, Set<A> y) Source #

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 int GetHashCode (Set<A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (Set<A> x, Set<A> y) Source #

method Task<int> GetHashCodeAsync (Set<A> x) Source #

struct EqSet <A> Source #

Set equality

Fields

Methods

method bool Equals (Set<A> x, Set<A> y) Source #

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 int GetHashCode (Set<A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (Set<A> x, Set<A> y) Source #

method Task<int> GetHashCodeAsync (Set<A> x) Source #

struct EqShort Source #

Integer equality

Fields

Methods

method bool Equals (short a, short b) Source #

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 int GetHashCode (short x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (short x, short y) Source #

method Task<int> GetHashCodeAsync (short x) Source #

struct EqStck <EQ, A> Source #

where EQ : struct, Eq<A>

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

Fields

Methods

method bool Equals (Stck<A> x, Stck<A> y) Source #

method int GetHashCode (Stck<A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (Stck<A> x, Stck<A> y) Source #

method Task<int> GetHashCodeAsync (Stck<A> x) Source #

struct EqStck <A> Source #

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

Fields

Methods

method bool Equals (Stck<A> x, Stck<A> y) Source #

method int GetHashCode (Stck<A> x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (Stck<A> x, Stck<A> y) Source #

method Task<int> GetHashCodeAsync (Stck<A> x) Source #

struct EqString Source #

String equality

Fields

field EqString Inst = default Source #

Methods

method bool Equals (string a, string b) Source #

Equality test

Parameters

param a

The left hand side of the equality operation

param b

The right hand side of the equality operation

returns

True if a and b are equal

method int GetHashCode (string x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (string x, string y) Source #

method Task<int> GetHashCodeAsync (string x) Source #

struct EqStringInvariantCulture Source #

String equality (invariant culture)

Fields

field EqStringInvariantCulture Inst = default Source #

Methods

method bool Equals (string a, string b) Source #

Equality test

Parameters

param a

The left hand side of the equality operation

param b

The right hand side of the equality operation

returns

True if a and b are equal

method int GetHashCode (string x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (string x, string y) Source #

method Task<int> GetHashCodeAsync (string x) Source #

struct EqStringInvariantCultureIgnoreCase Source #

String equality (invariant culture, ignore case)

Fields

field EqStringInvariantCultureIgnoreCase Inst = default Source #

Methods

method bool Equals (string a, string b) Source #

Equality test

Parameters

param a

The left hand side of the equality operation

param b

The right hand side of the equality operation

returns

True if a and b are equal

method int GetHashCode (string x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (string x, string y) Source #

method Task<int> GetHashCodeAsync (string x) Source #

struct EqStringOrdinalIgnoreCase Source #

String equality (ordinal, ignore case)

Fields

field EqStringOrdinalIgnoreCase Inst = default Source #

Methods

method bool Equals (string a, string b) Source #

Equality test

Parameters

param a

The left hand side of the equality operation

param b

The right hand side of the equality operation

returns

True if a and b are equal

method int GetHashCode (string x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (string x, string y) Source #

method Task<int> GetHashCodeAsync (string x) Source #

struct EqStringOrdinal Source #

String equality (ordinal)

Fields

field EqStringOrdinal Inst = default Source #

Methods

method bool Equals (string a, string b) Source #

Equality test

Parameters

param a

The left hand side of the equality operation

param b

The right hand side of the equality operation

returns

True if a and b are equal

method int GetHashCode (string x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (string x, string y) Source #

method Task<int> GetHashCodeAsync (string x) Source #

struct EqStringCurrentCultureIgnoreCase Source #

String equality (current culture, ignore case)

Fields

field EqStringCurrentCultureIgnoreCase Inst = default Source #

Methods

method bool Equals (string a, string b) Source #

Equality test

Parameters

param a

The left hand side of the equality operation

param b

The right hand side of the equality operation

returns

True if a and b are equal

method int GetHashCode (string x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (string x, string y) Source #

method Task<int> GetHashCodeAsync (string x) Source #

struct EqStringCurrentCulture Source #

String equality (current culture)

Fields

field EqStringCurrentCulture Inst = default Source #

Methods

method bool Equals (string a, string b) Source #

Equality test

Parameters

param a

The left hand side of the equality operation

param b

The right hand side of the equality operation

returns

True if a and b are equal

method int GetHashCode (string x) Source #

Get hash code of the value

Parameters

param x

Value to get the hash code of

returns

The hash code of x

method Task<bool> EqualsAsync (string x, string y) Source #

method Task<int> GetHashCodeAsync (string x) Source #

struct EqTask <A> Source #

Methods

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

method int GetHashCode (Task<A> x) Source #

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

method Task<int> GetHashCodeAsync (Task<A> x) Source #

struct EqTrue <A> Source #

Always returns true for equality checks

Methods

method bool Equals (A x, A y) Source #

method int GetHashCode (A x) Source #

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

method Task<int> GetHashCodeAsync (A x) Source #

struct EqTry <EQ, A> Source #

where EQ : struct, Eq<A>

Compare the equality of any values bound by the Try monad

Fields

Methods

method bool Equals (Try<A> x, Try<A> y) Source #

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 int GetHashCode (Try<A> x) Source #

method Task<bool> EqualsAsync (Try<A> x, Try<A> y) Source #

method Task<int> GetHashCodeAsync (Try<A> x) Source #

struct EqTry <A> Source #

Compare the equality of any values bound by the Try monad

Fields

Methods

method bool Equals (Try<A> x, Try<A> y) Source #

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 int GetHashCode (Try<A> x) Source #

method Task<bool> EqualsAsync (Try<A> x, Try<A> y) Source #

method Task<int> GetHashCodeAsync (Try<A> x) Source #

struct EqTryOption <EQ, A> Source #

where EQ : struct, Eq<A>

Compare the equality of any type in the TryOption type-class

Fields

field EqTryOption<EQ, A> Inst = default(EqTryOption<EQ, A>) Source #

Methods

method bool Equals (TryOption<A> lhs, TryOption<A> rhs) Source #

Equality test

Parameters

param lhs

The left hand side of the equality operation

param rhs

The right hand side of the equality operation

returns

True if lhs and rhs are equal

method int GetHashCode (TryOption<A> x) Source #

method Task<bool> EqualsAsync (TryOption<A> x, TryOption<A> y) Source #

method Task<int> GetHashCodeAsync (TryOption<A> x) Source #

struct EqTryOption <A> Source #

Compare the equality of any type in the TryOption type-class

Fields

Methods

method bool Equals (TryOption<A> lhs, TryOption<A> rhs) Source #

Equality test

Parameters

param lhs

The left hand side of the equality operation

param rhs

The right hand side of the equality operation

returns

True if lhs and rhs are equal

method int GetHashCode (TryOption<A> x) Source #

method Task<bool> EqualsAsync (TryOption<A> x, TryOption<A> y) Source #

method Task<int> GetHashCodeAsync (TryOption<A> x) Source #

struct EqTuple2 <EqA, EqB, A, B> Source #

where EqA : struct, Eq<A>
where EqB : struct, Eq<B>

Methods

method Task<int> GetHashCodeAsync ((A, B) pair) Source #

method int GetHashCode ((A, B) pair) Source #

method Task<bool> EqualsAsync ((A, B) x, (A, B) y) Source #

method bool Equals ((A, B) x, (A, B) y) Source #

struct EqTypeInfo Source #

Methods

method bool Equals (TypeInfo x, TypeInfo y) Source #

method int GetHashCode (TypeInfo x) Source #

method Task<bool> EqualsAsync (TypeInfo x, TypeInfo y) Source #

method Task<int> GetHashCodeAsync (TypeInfo x) Source #