LanguageExt.Core

LanguageExt.Core Class Instances Ord

Contents

struct OrdArr <OrdA, A> Source #

where OrdA : struct, Ord<A>

Equality and ordering

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 Compare (Arr<A> mx, Arr<A> my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (Arr<A> x, Arr<A> y) Source #

struct OrdArr <A> Source #

Equality and ordering

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 Compare (Arr<A> mx, Arr<A> my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (Arr<A> x, Arr<A> y) Source #

struct OrdArray <OrdA, A> Source #

where OrdA : struct, Ord<A>

Equality and ordering

Fields

field OrdArray<OrdA, A> Inst = default(OrdArray<OrdA, A>) Source #

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 Compare (A[] mx, A[] my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (A[] x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (A[] x, A[] y) Source #

struct OrdArray <A> Source #

Equality and ordering

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 Compare (A[] mx, A[] my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

method int GetHashCode (A[] x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (A[] x, A[] y) Source #

struct OrdBigInt Source #

Equality and ordering

Fields

Methods

method bool Equals (bigint x, bigint 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 Compare (bigint x, bigint y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (bigint x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (bigint x, bigint y) Source #

struct OrdBool Source #

Equality and ordering

Fields

Methods

method bool Equals (bool x, bool 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 Compare (bool x, bool y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (bool x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

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

struct OrdChar Source #

Equality and ordering

Fields

Methods

method bool Equals (char x, char 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 Compare (char x, char y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (char x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (char x, char y) Source #

struct OrdChoice <OrdA, OrdB, ChoiceAB, CH, A, B> Source #

where ChoiceAB : struct, Choice<CH, A, B>
where OrdA : struct, Ord<A>
where OrdB : struct, Ord<B>

Compare the equality of any type in the Choice type-class. Taking into account the ordering of both possible bound values.

Fields

field OrdChoice<OrdA, OrdB, ChoiceAB, CH, A, B> Inst = default(OrdChoice<OrdA, OrdB, ChoiceAB, CH, A, B>) Source #

Methods

method int Compare (CH x, CH y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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 the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (CH x, CH y) Source #

struct OrdChoice <OrdB, ChoiceAB, CH, A, B> Source #

where ChoiceAB : struct, Choice<CH, A, B>
where OrdB : struct, Ord<B>

Compare the equality of any type in the Choice type-class. Taking into account only the 'success bound value' of B.

Fields

field OrdChoice<OrdB, ChoiceAB, CH, A, B> Inst = default(OrdChoice<OrdB, ChoiceAB, CH, A, B>) Source #

Methods

method int Compare (CH x, CH y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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 the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (CH x, CH y) Source #

struct OrdChoice <ChoiceAB, CH, A, B> Source #

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

Compare the equality of any type in the Choice type-class. Taking into account only the 'success bound value' of B.

Fields

field OrdChoice<ChoiceAB, CH, A, B> Inst = default(OrdChoice<ChoiceAB, CH, A, B>) Source #

Methods

method int Compare (CH x, CH y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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 the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (CH x, CH y) Source #

struct OrdChoiceUnsafe <OrdA, OrdB, ChoiceAB, CH, A, B> Source #

where ChoiceAB : struct, ChoiceUnsafe<CH, A, B>
where OrdA : struct, Ord<A>
where OrdB : struct, Ord<B>

Compare the equality of any type in the Choice type-class. Taking into account the ordering of both possible bound values.

Fields

field OrdChoiceUnsafe<OrdA, OrdB, ChoiceAB, CH, A, B> Inst = default(OrdChoiceUnsafe<OrdA, OrdB, ChoiceAB, CH, A, B>) Source #

Methods

method int Compare (CH x, CH y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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 the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (CH x, CH y) Source #

struct OrdChoiceUnsafe <OrdB, ChoiceAB, CH, A, B> Source #

where ChoiceAB : struct, ChoiceUnsafe<CH, A, B>
where OrdB : struct, Ord<B>

Compare the equality of any type in the Choice type-class. Taking into account only the 'success bound value' of B.

Fields

field OrdChoiceUnsafe<OrdB, ChoiceAB, CH, A, B> Inst = default(OrdChoiceUnsafe<OrdB, ChoiceAB, CH, A, B>) Source #

Methods

method int Compare (CH x, CH y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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 the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (CH x, CH y) Source #

struct OrdChoiceUnsafe <ChoiceAB, CH, A, B> Source #

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

Compare the equality of any type in the Choice type-class. Taking into account only the 'success bound value' of B.

Fields

field OrdChoiceUnsafe<ChoiceAB, CH, A, B> Inst = default(OrdChoiceUnsafe<ChoiceAB, CH, A, B>) Source #

Methods

method int Compare (CH x, CH y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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 the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (CH x, CH y) Source #

struct OrdDateTime Source #

Equality and ordering

Fields

Methods

method bool Equals (DateTime x, DateTime 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 Compare (DateTime x, DateTime y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (DateTime x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (DateTime x, DateTime y) Source #

struct OrdDecimal Source #

Equality and ordering

Fields

Methods

method bool Equals (decimal x, decimal 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 Compare (decimal x, decimal y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (decimal x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (decimal x, decimal y) Source #

struct OrdDefault <A> Source #

Methods

method int Compare (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 bool Equals (A x, A y) Source #

method int GetHashCode (A x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (A x, A y) Source #

struct OrdDouble Source #

Equality and ordering

Fields

Methods

method bool Equals (double x, double 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 Compare (double x, double y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (double x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (double x, double y) Source #

struct OrdEither <OrdL, OrdR, L, R> Source #

where OrdL : struct, Ord<L>
where OrdR : struct, Ord<R>

Either type hashing

Methods

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

Ordering test

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

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

struct OrdEither <L, R> Source #

Either type hashing

Methods

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

Ordering test

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

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

struct OrdEitherUnsafe <OrdL, OrdR, L, R> Source #

where OrdL : struct, Ord<L>
where OrdR : struct, Ord<R>

Either type hashing

Methods

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

Ordering test

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

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

struct OrdEitherUnsafe <L, R> Source #

Either type hashing

Methods

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

Ordering test

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

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

struct OrdEnumerable <OrdA, A> Source #

where OrdA : struct, Ord<A>

Equality and ordering

Fields

field OrdEnumerable<OrdA, A> Inst = default(OrdEnumerable<OrdA, A>) Source #

Methods

method bool Equals (IEnumerable<A> x, IEnumerable<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 Compare (IEnumerable<A> x, IEnumerable<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (IEnumerable<A> x, IEnumerable<A> y) Source #

struct OrdEnumerable <A> Source #

Equality and ordering

Fields

field OrdEnumerable<A> Inst = default(OrdEnumerable<A>) Source #

Methods

method bool Equals (IEnumerable<A> x, IEnumerable<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 Compare (IEnumerable<A> x, IEnumerable<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (IEnumerable<A> x, IEnumerable<A> y) Source #

struct OrdException Source #

Methods

method int GetHashCode (Exception x) Source #

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

method int Compare (Exception x, Exception y) Source #

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

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

method Task<int> CompareAsync (Exception x, Exception y) Source #

struct OrdFloat Source #

Equality and ordering

Fields

Methods

method bool Equals (float x, float 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 Compare (float x, float y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (float x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (float x, float y) Source #

struct OrdGuid Source #

Equality and ordering

Fields

Methods

method bool Equals (Guid x, Guid 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 Compare (Guid x, Guid y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (Guid x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (Guid x, Guid y) Source #

struct OrdHashSet <OrdA, A> Source #

where OrdA : struct, Ord<A>

Equality and ordering

Fields

field OrdHashSet<OrdA, A> Inst = default(OrdHashSet<OrdA, 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 Compare (HashSet<A> x, HashSet<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (HashSet<A> x, HashSet<A> y) Source #

struct OrdHashSet <A> Source #

Equality and ordering

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 Compare (HashSet<A> x, HashSet<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (HashSet<A> x, HashSet<A> y) Source #

struct OrdIdentity <A> Source #

Identity equality

Fields

Methods

method int Compare (Identity<A> a, Identity<A> b) Source #

Ordering test

Parameters

param x

The left hand side of the ordering operation

param y

The right hand side of the ordering operation

returns

-1 if less than, 0 if equal, 1 if greater than

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 #

method Task<int> CompareAsync (Identity<A> x, Identity<A> y) Source #

struct OrdInt Source #

Equality and ordering

Fields

Methods

method bool Equals (int x, int 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 Compare (int x, int y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (int x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

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

struct OrdLong Source #

Equality and ordering

Fields

Methods

method bool Equals (long x, long 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 Compare (long x, long y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (long x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (long x, long y) Source #

struct OrdLst <OrdA, A> Source #

where OrdA : struct, Ord<A>

Equality and ordering

Fields

Methods

method bool Equals (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 int Compare (Lst<A> mx, Lst<A> my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (Lst<A> x, Lst<A> y) Source #

struct OrdLst <A> Source #

Equality and ordering

Fields

Methods

method bool Equals (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 int Compare (Lst<A> x, Lst<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (Lst<A> x, Lst<A> y) Source #

struct OrdMap <OrdK, K, V> Source #

where OrdK : struct, Ord<K>

Equality and ordering

Methods

method int Compare (Map<OrdK, K, V> x, Map<OrdK, K, V> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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 #

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

struct OrdMap <K, V> Source #

Equality and ordering

Methods

method int Compare (Map<K, V> x, Map<K, V> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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 #

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

method Task<int> CompareAsync (Map<K, V> x, Map<K, V> y) Source #

struct OrdNewType <NEWTYPE, ORD, A> Source #

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

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

Fields

field OrdNewType<NEWTYPE, ORD, A> Inst = default(OrdNewType<NEWTYPE, ORD, 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 Compare (NewType<NEWTYPE, A> mx, NewType<NEWTYPE, A> my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

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 #

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

struct OrdNewType <NEWTYPE, A> Source #

where NEWTYPE : NewType<NEWTYPE, A>

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

Fields

field OrdNewType<NEWTYPE, A> Inst = default(OrdNewType<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 Compare (NewType<NEWTYPE, A> mx, NewType<NEWTYPE, A> my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

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 #

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

struct OrdNewType <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 and ordering of any type in the NewType type-class

Fields

field OrdNewType<NEWTYPE, ORD, A, PRED> Inst = default(OrdNewType<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 Compare (NewType<NEWTYPE, A, PRED, ORD> mx, NewType<NEWTYPE, A, PRED, ORD> my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

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 #

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

struct OrdNumType <NUMTYPE, NUM, A> Source #

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

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

Fields

field OrdNumType<NUMTYPE, NUM, A> Inst = default(OrdNumType<NUMTYPE, NUM, A>) Source #

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 Compare (NumType<NUMTYPE, NUM, A> mx, NumType<NUMTYPE, NUM, A> my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

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 #

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

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

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

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

Fields

field OrdNumType<NUMTYPE, NUM, A, PRED> Inst = default(OrdNumType<NUMTYPE, NUM, A, PRED>) Source #

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 Compare (NumType<NUMTYPE, NUM, A, PRED> mx, NumType<NUMTYPE, NUM, A, PRED> my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

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 #

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

struct OrdOption <OrdA, A> Source #

where OrdA : struct, Ord<A>

Methods

method int Compare (Option<A> x, Option<A> y) Source #

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 #

method Task<int> CompareAsync (Option<A> x, Option<A> y) Source #

struct OrdOption <A> Source #

Methods

method int Compare (Option<A> x, Option<A> y) Source #

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 #

method Task<int> CompareAsync (Option<A> x, Option<A> y) Source #

struct OrdOptional <OrdA, OPTION, OA, A> Source #

where OrdA : struct, Ord<A>
where OPTION : struct, Optional<OA, A>

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

Fields

field OrdOptional<OrdA, OPTION, OA, A> Inst = default(OrdOptional<OrdA, 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 Compare (OA mx, OA my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (OA x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (OA x, OA y) Source #

struct OrdOptional <OPTION, OA, A> Source #

where OPTION : struct, Optional<OA, A>

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

Fields

field OrdOptional<OPTION, OA, A> Inst = default(OrdOptional<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 Compare (OA mx, OA my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (OA x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (OA x, OA y) Source #

struct OrdOptionalUnsafe <OrdA, OPTION, OA, A> Source #

where OrdA : struct, Ord<A>
where OPTION : struct, OptionalUnsafe<OA, A>

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

Fields

field OrdOptionalUnsafe<OrdA, OPTION, OA, A> Inst = default(OrdOptionalUnsafe<OrdA, 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 Compare (OA mx, OA my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (OA x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (OA x, OA y) Source #

struct OrdOptionalUnsafe <OPTION, OA, A> Source #

where OPTION : struct, OptionalUnsafe<OA, A>

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

Fields

field OrdOptionalUnsafe<OPTION, OA, A> Inst = default(OrdOptionalUnsafe<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 Compare (OA mx, OA my) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (OA x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (OA x, OA y) Source #

struct OrdOptionUnsafe <OrdA, A> Source #

where OrdA : struct, Ord<A>

Methods

method int Compare (OptionUnsafe<A> x, OptionUnsafe<A> y) Source #

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 #

method Task<int> CompareAsync (OptionUnsafe<A> x, OptionUnsafe<A> y) Source #

struct OrdOptionUnsafe <A> Source #

Methods

method int Compare (OptionUnsafe<A> x, OptionUnsafe<A> y) Source #

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 #

method Task<int> CompareAsync (OptionUnsafe<A> x, OptionUnsafe<A> y) Source #

struct OrdQue <OrdA, A> Source #

where OrdA : struct, Ord<A>

Equality and ordering

Fields

Methods

method bool Equals (Que<A> x, Que<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 Compare (Que<A> x, Que<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (Que<A> x, Que<A> y) Source #

struct OrdQue <A> Source #

Equality and ordering

Fields

Methods

method bool Equals (Que<A> x, Que<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 Compare (Que<A> x, Que<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (Que<A> x, Que<A> y) Source #

struct OrdRecord <A> Source #

where A : Record<A>

Ordering class instance for all record types

Parameters

type A

Record type

Methods

method int Compare (A x, A y) Source #

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 #

method Task<int> CompareAsync (A x, A y) Source #

struct OrdResult <A> Source #

Methods

method int Compare (Result<A> x, Result<A> y) Source #

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 #

method Task<int> CompareAsync (Result<A> x, Result<A> y) Source #

struct OrdOptionalResult <A> Source #

Methods

method int Compare (OptionalResult<A> x, OptionalResult<A> y) Source #

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 #

method Task<int> CompareAsync (OptionalResult<A> x, OptionalResult<A> y) Source #

struct OrdSeq <OrdA, A> Source #

where OrdA : struct, Ord<A>

Equality and ordering

Fields

Methods

method bool Equals (Seq<A> x, Seq<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 Compare (Seq<A> x, Seq<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (Seq<A> x, Seq<A> y) Source #

struct OrdSeq <A> Source #

Equality and ordering

Fields

Methods

method bool Equals (Seq<A> x, Seq<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 Compare (Seq<A> x, Seq<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (Seq<A> x, Seq<A> y) Source #

struct OrdSet <OrdA, A> Source #

where OrdA : struct, Ord<A>

Equality and ordering

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 Compare (Set<A> x, Set<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (Set<A> x, Set<A> y) Source #

struct OrdSet <A> Source #

Equality and ordering

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 Compare (Set<A> x, Set<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (Set<A> x, Set<A> y) Source #

struct OrdShort Source #

Equality and ordering

Fields

Methods

method bool Equals (short x, short 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 Compare (short x, short y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1

if x less than y : -1

if x equals y : 0

method int GetHashCode (short x) Source #

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (short x, short y) Source #

struct OrdStck <OrdA, A> Source #

where OrdA : struct, Ord<A>

Equality and ordering

Fields

field OrdStck<OrdA, A> Inst = default(OrdStck<OrdA, A>) Source #

Methods

method bool Equals (Stck<A> x, Stck<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 Compare (Stck<A> x, Stck<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (Stck<A> x, Stck<A> y) Source #

struct OrdStck <A> Source #

Equality and ordering

Fields

Methods

method bool Equals (Stck<A> x, Stck<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 Compare (Stck<A> x, Stck<A> y) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if x greater than y : 1 if x less than y : -1 if x equals y : 0

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

Get the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (Stck<A> x, Stck<A> y) Source #

struct OrdString Source #

String comparison

Fields

Methods

method int Compare (string a, string b) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if a greater than b : 1 if a less than b : -1 if a equals b : 0

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 the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (string x, string y) Source #

struct OrdStringOrdinalIgnoreCase Source #

String comparison (ordinal, ignore case)

Fields

field OrdStringOrdinalIgnoreCase Inst = default(OrdStringOrdinalIgnoreCase) Source #

Methods

method int Compare (string a, string b) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if a greater than b : 1 if a less than b : -1 if a equals b : 0

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 the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (string x, string y) Source #

struct OrdStringOrdinal Source #

String comparison (ordinal)

Fields

field OrdStringOrdinal Inst = default(OrdStringOrdinal) Source #

Methods

method int Compare (string a, string b) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if a greater than b : 1 if a less than b : -1 if a equals b : 0

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 the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (string x, string y) Source #

struct OrdStringCurrentCultureIgnoreCase Source #

String comparison (current culture, ignore case)

Fields

field OrdStringCurrentCultureIgnoreCase Inst = default(OrdStringCurrentCultureIgnoreCase) Source #

Methods

method int Compare (string a, string b) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if a greater than b : 1 if a less than b : -1 if a equals b : 0

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 the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (string x, string y) Source #

struct OrdStringCurrentCulture Source #

String comparison (current culture)

Fields

field OrdStringCurrentCulture Inst = default(OrdStringCurrentCulture) Source #

Methods

method int Compare (string a, string b) Source #

Compare two values

Parameters

param x

Left hand side of the compare operation

param y

Right hand side of the compare operation

returns

if a greater than b : 1 if a less than b : -1 if a equals b : 0

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 the hash-code of the provided value

Parameters

returns

Hash code of x

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

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

method Task<int> CompareAsync (string x, string y) Source #

struct OrdTask <A> Source #

Methods

method int Compare (Task<A> x, Task<A> y) Source #

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 #

method Task<int> CompareAsync (Task<A> x, Task<A> y) Source #

struct OrdTrue <A> Source #

Always returns true for equality checks and 0 for ordering

Methods

method int Compare (A x, A y) Source #

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 #

method Task<int> CompareAsync (A x, A y) Source #

struct OrdTry <OrdA, A> Source #

where OrdA : struct, Ord<A>

Methods

method int Compare (Try<A> x, Try<A> y) Source #

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

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

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

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

method Task<int> CompareAsync (Try<A> x, Try<A> y) Source #

struct OrdTry <A> Source #

Methods

method int Compare (Try<A> x, Try<A> y) Source #

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

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

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

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

method Task<int> CompareAsync (Try<A> x, Try<A> y) Source #

struct OrdTryOption <OrdA, A> Source #

where OrdA : struct, Ord<A>

Methods

method int Compare (TryOption<A> x, TryOption<A> y) Source #

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

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

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

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

method Task<int> CompareAsync (TryOption<A> x, TryOption<A> y) Source #

struct OrdTryOption <A> Source #

Methods

method int Compare (TryOption<A> x, TryOption<A> y) Source #

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

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

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

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

method Task<int> CompareAsync (TryOption<A> x, TryOption<A> y) Source #

struct OrdTupleFirst <OrdA, A, B> Source #

where OrdA : struct, Ord<A>

Ord instance for a pair tuple. It orders using the first item in the tuple only and the provided OrdA.

Methods

method int Compare ((A, B) x, (A, B) y) Source #

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

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

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

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

method Task<int> CompareAsync ((A, B) x, (A, B) y) Source #

struct OrdTypeInfo Source #

Methods

method int Compare (TypeInfo x, TypeInfo y) Source #

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 #

method Task<int> CompareAsync (TypeInfo x, TypeInfo y) Source #