mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-10 13:13:56 -05:00
variance annotation
This commit is contained in:
parent
d033b4621c
commit
e9a3cbdc62
2 changed files with 3 additions and 3 deletions
|
|
@ -60,7 +60,7 @@ end
|
||||||
module type S = sig
|
module type S = sig
|
||||||
type key
|
type key
|
||||||
|
|
||||||
type 'a t
|
type +'a t
|
||||||
|
|
||||||
val empty : 'a t
|
val empty : 'a t
|
||||||
|
|
||||||
|
|
@ -158,7 +158,7 @@ module MakeFull(K : KEY) : S with type key = K.t = struct
|
||||||
|
|
||||||
type weight = int
|
type weight = int
|
||||||
|
|
||||||
type 'a t =
|
type +'a t =
|
||||||
| E
|
| E
|
||||||
| N of key * 'a * 'a t * 'a t * weight
|
| N of key * 'a * 'a t * 'a t * weight
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ end
|
||||||
module type S = sig
|
module type S = sig
|
||||||
type key
|
type key
|
||||||
|
|
||||||
type 'a t
|
type +'a t
|
||||||
|
|
||||||
val empty : 'a t
|
val empty : 'a t
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue