package mopsa

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

Interface of lattice structures

module type LATTICE = sig ... end

Signature of a lattice module.

type 'a lattice = {
  1. bottom : 'a;
  2. top : 'a;
  3. is_bottom : 'a -> bool;
  4. subset : 'a Context.ctx -> 'a -> 'a -> bool;
  5. join : 'a Context.ctx -> 'a -> 'a -> 'a;
  6. meet : 'a Context.ctx -> 'a -> 'a -> 'a;
  7. widen : 'a Context.ctx -> 'a -> 'a -> 'a;
  8. merge : 'a -> ('a * Effect.teffect) -> ('a * Effect.teffect) -> 'a;
  9. print : Print.printer -> 'a -> unit;
}

Lattice operators

OCaml

Innovation. Community. Security.