]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/ng_kernel/nReference.ml
workaround for Pi associativity
[helm.git] / helm / software / components / ng_kernel / nReference.ml
index 2692075e02796a5c3958e066854513d2de720059..5da330541997905447ae9341d41d16d566598e03 100644 (file)
@@ -119,6 +119,12 @@ let mk_constructor j = function
   | _ -> assert false
 ;;
 
+let mk_fix i j = function
+  | Ref (d, u, Fix _) -> 
+      reference_of_string (string_of_reference (Ref (d, u, Fix (i,j))))
+  | _ -> assert false
+;;
+
 let reference_of_ouri u indinfo =
   let u = NUri.nuri_of_ouri u in
   reference_of_string (string_of_reference (Ref (max_int,u,indinfo)))