aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/util.mli
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2015-12-05 12:53:20 +0100
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2015-12-05 13:38:14 +0100
commit895d34a264d9d90adfe4f0618c3bb0663dc01615 (patch)
treeda8406b2fd882318c8264487596f2aca0e5f9f2a /lib/util.mli
parent8596423ed6345495ca5ec0aedb8a9a431bee2e5d (diff)
Leveraging GADTs to provide a better Dyn API.
Diffstat (limited to 'lib/util.mli')
-rw-r--r--lib/util.mli2
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. *)