Skip to content

Instantly share code, notes, and snippets.

@carsten-j
Created April 15, 2015 20:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carsten-j/6b700447dbcfe970f740 to your computer and use it in GitHub Desktop.
Save carsten-j/6b700447dbcfe970f740 to your computer and use it in GitHub Desktop.
module TERM : sig
type t
val succ: t -> t
val init: unit -> t
val compare: t -> t -> int
end
module Term : TERM = struct
type t = int
with compare
let succ = succ
let init() = 0
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment