]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/lib/extraction.ma
...
[helm.git] / matita / matita / lib / extraction.ma
index 8e46509fa9696eff17821b5def068ddafb993ba4..bb6af07e00ea222697d6ccebc8069d00df791b80 100644 (file)
@@ -145,6 +145,22 @@ and g (n:nat) : nat ≝
  [ O ⇒ O
  | S m ⇒ f m ].
 
+(*BUG: pattern matching patterns when arguments have been deleted from
+  the constructor are wrong *)
+
+(*BUG: constructor names in pattern should be capitalised correctly;
+  name clashes must be avoided*)
+
 coinductive stream: Type[0] ≝ scons : nat → stream → stream.
 
-let corec div (n:nat) : stream ≝ scons n (div (S n)).
\ No newline at end of file
+let corec div (n:nat) : stream ≝ scons n (div (S n)).
+
+(*
+let rec mkterm (n:nat) : nat ≝
+ match n with
+ [ O ⇒ O
+ | S m ⇒ mkterm m ]
+and mktyp (n:nat) : Type[0] ≝
+ match n with
+ [ O ⇒ nat
+ | S m ⇒ mktyp m ].*)