Module TaglessFinal.ComparisonOperator

This module provides a type that represents Python comparison operators.

type 'a t = {
eq : 'a;

Represents Python operator ==.

noteq : 'a;

Represents Python operator !=.

lt : 'a;

Represents Python operator <.

lte : 'a;

Represents Python operator <.

gt : 'a;

Represents Python operator >.

gte : 'a;

Represents Python operator <=.

is : 'a;

Represents Python operator is.

isnot : 'a;

Represents Python operator is not.

in_ : 'a;

Represents Python operator in.

notin : 'a;

Represents Python operator not in

}
val make : eq:'a -> noteq:'a -> lt:'a -> lte:'a -> gt:'a -> gte:'a -> is:'a -> isnot:'a -> in_:'a -> notin:'a -> unit -> 'a t

Constructor of t.