package prbnmcn-basic-structures

  1. Overview
  2. Docs

Ring equipped with standard boilerplate.

include Ring
type 'a m
type t
val zero : t m
val add : t m -> t m -> t m
val neg : t m -> t m
val one : t m
val mul : t m -> t m -> t m
val sub : t m -> t m -> t m
val of_int : int -> t m
include Std with type t := t and type 'a m := 'a m
val compare : t m -> t m -> int m
val equal : t m -> t m -> bool m
val pp : Format.formatter m -> t m -> unit m
val hash : t m -> int m