package preface

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

A Meet_semilattice capture the notion of a set with greatest lower bound. A meet semilattice is an idempotent commutative semigroup.

Laws

To have a predictable behaviour, the instance of Meet_semilattice must obey some laws.

  • meet a (meet b c) = meet (meet a b) c
  • meet a b = meet b a
  • meet a a = a

Minimal definition

module type WITH_MEET = sig ... end

Structure anatomy

module type CORE = WITH_MEET

Basis operations.

module type INFIX = sig ... end

Infix operators.

Complete API

module type API = sig ... end

The complete interface of a Meet_semilattice.

OCaml

Innovation. Community. Security.