Created
May 31, 2020 20:17
-
-
Save Gbury/265459178ca98c83f831817c95fc8e26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(** Subset of the Set.S signature *) | |
module type Set = sig | |
type t | |
val subset : t -> t -> bool | |
end | |
let f (type set) (module S : Set with type t = set) (s : set) (l : set list) = | |
List.exists (S.subset s) l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment