]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/tests/first.ma
ocaml 3.09 transition
[helm.git] / helm / matita / tests / first.ma
index 69b4adf26f4221a6a19b006617740fe4e253c0b4..4fca7b1999664dc66b24e92e1184cc08b681ebe2 100644 (file)
@@ -1,3 +1,17 @@
+(**************************************************************************)
+(*       ___                                                              *)
+(*      ||M||                                                             *)
+(*      ||A||       A project by Andrea Asperti                           *)
+(*      ||T||                                                             *)
+(*      ||I||       Developers:                                           *)
+(*      ||T||         The HELM team.                                      *)
+(*      ||A||         http://helm.cs.unibo.it                             *)
+(*      \   /                                                             *)
+(*       \ /        This file is distributed under the terms of the       *)
+(*        v         GNU General Public License Version 2                  *)
+(*                                                                        *)
+(**************************************************************************)
+
 set "baseuri" "cic:/matita/tests/first/".
 
 inductive nat : Set \def
@@ -12,8 +26,7 @@ inductive list (A:Set) : Set \def
   | cons : A \to list A \to list A.
 
 let rec list_len (A:Set) (l:list A) on l \def
-  [\lambda x.nat]
-  match (l:list A) with 
+  match l with 
   [ nil \Rightarrow O
   | (cons a tl) \Rightarrow S (list_len A tl)].