1 (**************************************************************************)
4 (* ||A|| A project by Andrea Asperti *)
6 (* ||I|| Developers: *)
7 (* ||T|| The HELM team. *)
8 (* ||A|| http://helm.cs.unibo.it *)
10 (* \ / This file is distributed under the terms of the *)
11 (* v GNU General Public License Version 2 *)
13 (**************************************************************************)
15 set "baseuri" "cic:/matita/RELATIONAL/datatypes/List".
17 include "preamble.ma".
19 inductive List (A:Set): Set \def
21 | cons: List A \to A \to List A
24 (*CSC: the URI must disappear: there is a bug now *)
25 interpretation "nil" 'nil =
26 (cic:/matita/RELATIONAL/datatypes/List/List.ind#xpointer(1/1) _).
29 non associative with precedence 95
32 (*CSC: the URI must disappear: there is a bug now *)
33 interpretation "right cons" 'rcons x y =
34 (cic:/matita/RELATIONAL/datatypes/List/List.ind#xpointer(1/2) _ x y).
36 notation "hvbox([a break @ b])"
37 non associative with precedence 95