prbnmcn-basic-structures

Base package for prbnmcn-* packages
Library prbnmcn-basic-structures
include Basic_intf.Ring with type t = Q.t
include Basic_intf.Abelian_group with type t = Q.t
type t = Q.t
val zero : t
val add : t -> t -> t
val neg : t -> t
include Basic_intf.Monoid with type t := t
val one : t
val mul : t -> t -> t
val sub : t -> t -> t
val of_int : int -> t
val compare : t -> t -> int
val equal : t -> t -> bool
val pp : Format.formatter -> t -> unit
val hash : t -> int