Module TaglessFinal.UnaryOperator

This module provides a type that represents Python unary operators.

type 'a t = private {
invert : 'a;(*

Represents Python operator ~.

*)
not_ : 'a;(*

Represents Python operator not.

*)
uadd : 'a;(*

Represents Python operator + (unary).

*)
usub : 'a;(*

Represents Python operator - (unary).

*)
}
val make : invert:'a -> not_:'a -> uadd:'a -> usub:'a -> unit -> 'a t

Constructor of t.