mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-06 03:05:31 -05:00
32 lines
1.2 KiB
OCaml
32 lines
1.2 KiB
OCaml
(**************************************************************************)
|
|
(* *)
|
|
(* Cubicle *)
|
|
(* Combining model checking algorithms and SMT solvers *)
|
|
(* *)
|
|
(* Sylvain Conchon and Alain Mebsout *)
|
|
(* Universite Paris-Sud 11 *)
|
|
(* *)
|
|
(* Copyright 2011. This file is distributed under the terms of the *)
|
|
(* Apache Software License version 2.0 *)
|
|
(* *)
|
|
(**************************************************************************)
|
|
|
|
exception EmptyHeap
|
|
|
|
module type OrderType = sig
|
|
type t
|
|
|
|
val compare : t -> t -> int
|
|
end
|
|
|
|
module type S = sig
|
|
type t
|
|
type elem
|
|
|
|
val empty : t
|
|
val pop : t -> elem * t
|
|
val add : t -> elem list -> t
|
|
val elements : t -> elem list
|
|
end
|
|
|
|
module Make ( X : OrderType ) : S with type elem = X.t
|