diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2015-12-05 12:53:20 +0100 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2015-12-05 13:38:14 +0100 |
commit | 895d34a264d9d90adfe4f0618c3bb0663dc01615 (patch) | |
tree | da8406b2fd882318c8264487596f2aca0e5f9f2a /lib/util.mli | |
parent | 8596423ed6345495ca5ec0aedb8a9a431bee2e5d (diff) |
Leveraging GADTs to provide a better Dyn API.
Diffstat (limited to 'lib/util.mli')
-rw-r--r-- | lib/util.mli | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util.mli b/lib/util.mli index 1dc405fcb..0ce6cc660 100644 --- a/lib/util.mli +++ b/lib/util.mli @@ -111,5 +111,7 @@ val map_union : ('a -> 'c) -> ('b -> 'd) -> ('a, 'b) union -> ('c, 'd) union type 'a until = 'a CSig.until = Stop of 'a | Cont of 'a (** Used for browsable-until structures. *) +type ('a, 'b) eq = ('a, 'b) CSig.eq = Refl : ('a, 'a) eq + val open_utf8_file_in : string -> in_channel (** Open an utf-8 encoded file and skip the byte-order mark if any. *) |