csci2041/public-class-repo/SamplePrograms/Intervals/v2/intInterval.mli
Michael Zhang 399845160c
f
2018-01-29 17:35:31 -06:00

15 lines
239 B
OCaml

(* An interface file for the intInterval that hides the implementation
type.
*)
type t
val create : int -> int -> t
val is_empty : t -> bool
val contains : t -> int -> bool
val intersect : t -> t -> t
val to_string : t -> string