package grenier

  1. Overview
  2. Docs
A collection of various algorithms in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

grenier-0.14.tbz
sha256=e5362e6ad0e888526517415e78b9e8243bb0cc1b0c952201884148832ac4442f
sha512=4e2f16b52b3c2786a1b8e93156184fd69d448cea571ca839b6cb88ab73f380994d1561fe24c1523c43ed8fc42d2ac01b673a13b6151fff4af4f009923d3aaf37

doc/grenier.strong/Strong/Natural/index.html

Module Strong.Natural

type 'a t
val order : 'a t -> 'b t -> ('a, 'b) order
val lift_eq : ('a, 'b) eq -> ('a t, 'b t) eq
val to_int : 'a t -> int
type zero
val zero : zero t
type one
val one : one t
module type T = sig ... end
module Nth (N : sig ... end) : T
val nth : int -> (module T)
type ('a, 'b) sum
val add : 'a t -> 'b t -> ('a, 'b) sum t
val sum_comm : (('a, 'b) sum, ('b, 'a) sum) eq
val sum_assoc : ((('a, 'b) sum, 'c) sum, ('a, ('b, 'c) sum) sum) eq
type ('a, 'b) prod
val mul : 'a t -> 'b t -> ('a, 'b) prod t
val prod_comm : (('a, 'b) prod, ('b, 'a) prod) eq
val prod_assoc : ((('a, 'b) prod, 'c) prod, ('a, ('b, 'c) prod) prod) eq
OCaml

Innovation. Community. Security.