]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nCicUntrusted.ml
coercions are there, but not heavily tested
[helm.git] / helm / software / components / ng_kernel / nCicUntrusted.ml
index 57a2a4f178d5056c6131778a9458938c1b25afd1..d7635fe8860ef409efa5534aa255d3ba263562dc 100644 (file)
@@ -81,3 +81,9 @@ module NCicHash =
    end)
 ;;
 
+let mk_appl he args = 
+  if args = [] then he else
+  match he with
+  | NCic.Appl l -> NCic.Appl (l@args)
+  | _ -> NCic.Appl (he::args)
+;;