aboutsummaryrefslogtreecommitdiff
path: root/lib/cString.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cString.ml')
-rw-r--r--lib/cString.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/cString.ml b/lib/cString.ml
index b34b219570..59a6d17c6e 100644
--- a/lib/cString.ml
+++ b/lib/cString.ml
@@ -60,6 +60,7 @@ sig
val is_sub : string -> string -> int -> bool
module Set : Set.S with type elt = t
module Map : Map.S with type key = t
+ val hcons : string -> string
end
include String
@@ -178,3 +179,5 @@ end
module Set = Set.Make(Self)
module Map = Map.Make(Self)
+
+let hcons = Hashcons.simple_hcons Hashcons.Hstring.generate ()