]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/getter/http_getter_types.ml
- use polymorphic variants for some configuration parameters
[helm.git] / helm / ocaml / getter / http_getter_types.ml
index 74ffe9fe1ee45eaae21f8e94fdc9998d693ef7aa..172cf18a963e3f2cea18aa586e9347b022f5b6d3 100644 (file)
@@ -35,8 +35,8 @@ exception Internal_error of string
 exception Cache_failure of string
 exception Dtd_not_found of string (* dtd's url *)
 
-type encoding = Enc_normal | Enc_gzipped
-type answer_format = Fmt_text | Fmt_xml
+type encoding = [ `Normal | `Gzipped ]
+type answer_format = [ `Text | `Xml ]
 type ls_flag = No | Yes | Ann
 type ls_object =
   {