aoc2020/set_ext.mli

9 lines
191 B
OCaml
Raw Normal View History

2020-12-03 09:11:29 -05:00
module type S = sig
include Set.S
val exists_opt: (elt -> 'a option) -> t -> 'a option
end
module Make(Elt: Set.OrderedType): S
with type elt = Elt.t
and type t = Set.Make(Elt).t