Skip to content

Instantly share code, notes, and snippets.

@gsg
gsg / table.ml
Created November 11, 2014 13:07
(*
* GADT friendly hash tables.
*)
module type GadtHashEq = sig
type 'a key
type 'a value
val eq_assoc : 'a key -> 'b key -> 'b value -> 'a value option
val hash : 'a key -> int
end