]> matita.cs.unibo.it Git - helm.git/commitdiff
Never ported to new syntax.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 16 Nov 2011 16:56:10 +0000 (16:56 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Wed, 16 Nov 2011 16:56:10 +0000 (16:56 +0000)
matita/matita/lib/basics/list2.ma [deleted file]

diff --git a/matita/matita/lib/basics/list2.ma b/matita/matita/lib/basics/list2.ma
deleted file mode 100644 (file)
index 1dd62c1..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-(**************************************************************************)
-(*       ___                                                              *)
-(*      ||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                  *)
-(*                                                                        *)
-(**************************************************************************)
-
-include "basics/list.ma".
-include "arithmetics/nat.ma".
-
-nlet rec length (A:Type) (l:list A) on l ≝ 
-  match l with 
-    [ nil ⇒ 0
-    | cons a tl ⇒ S (length A tl)].
-
-notation "|M|" non associative with precedence 60 for @{'norm $M}.
-interpretation "norm" 'norm l = (length ? l).
-
-nlet rec nth n (A:Type) (l:list A) (d:A)  ≝  
-  match n with
-    [O ⇒ hd A l d
-    |S m ⇒ nth m A (tail A l) d].
-