]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/uwobo/src/ocaml/uwobo.ml
specified type for Http_types.request objects
[helm.git] / helm / uwobo / src / ocaml / uwobo.ml
index abe65f47c135753548e7956a1cde734ce27dde00..2f5e549830e859d5978b65d7a898ad60e7249e65 100644 (file)
@@ -125,10 +125,12 @@ let usage_string =
 in
 
   (* thread action *)
-let callback req outchan =
+let callback (req: Http_types.request) outchan =
     (* perform an 'action' that can be applied to a list of keys or, if no
     keys was given, to all keys *)
-  let act_on_keys req styles outchan per_key_action all_keys_action logmsg =
+  let act_on_keys (req: Http_types.request)
+    styles outchan per_key_action all_keys_action logmsg
+    =
     let log = new Uwobo_logger.processingLogger () in
     let keys =
       try