This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
21
unikernel/duniverse/base/test/test_set_interface.ml
Normal file
21
unikernel/duniverse/base/test/test_set_interface.ml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
open! Base
|
||||
|
||||
(* Typechecking this code is a compile-time check that the specific interfaces have not
|
||||
drifted apart from each other. *)
|
||||
|
||||
module _ : sig
|
||||
open Set
|
||||
|
||||
type ('a, 'b) t
|
||||
|
||||
include
|
||||
Creators_and_accessors_generic
|
||||
with type ('a, 'b, 'c) access_options := ('a, 'b, 'c) Without_comparator.t
|
||||
with type ('a, 'b, 'c) create_options := ('a, 'b, 'c) With_first_class_module.t
|
||||
with type ('a, 'b) set := ('a, 'b) t
|
||||
with type ('a, 'b) t := ('a, 'b) t
|
||||
with type ('a, 'b) tree := ('a, 'b) Set.Using_comparator.Tree.t
|
||||
with type 'a elt := 'a
|
||||
with type 'c cmp := 'c
|
||||
end =
|
||||
Set
|
||||
Loading…
Add table
Add a link
Reference in a new issue