]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/core_notation.moo
New feature/bug fixed (hopefully): it is now possible to use fixed (term)
[helm.git] / helm / software / matita / core_notation.moo
index 9055293175f66328f4719569dfa7d1c142ecdc74..0043825ceaf32df56b2921c88074abb7b7ac1e3b 100644 (file)
@@ -4,6 +4,14 @@ for @{ 'exists ${default
   @{\lambda ${ident i} : $ty. $p}
   @{\lambda ${ident i} . $p}}}.
 
+(* Bugged notation: $T is not used if provided *)
+notation > "\exists list1 ident x sep , opt (: T). term 19 Px"
+  with precedence 20
+  for ${ default
+          @{ ${ fold right @{$Px} rec acc @{'exists (λ${ident x}:$T.$acc)} } }
+          @{ ${ fold right @{$Px} rec acc @{'exists (λ${ident x}.$acc)} } }
+       }.
+
 notation "hvbox(\langle term 19 a, break term 19 b\rangle)" 
 with precedence 90 for @{ 'pair $a $b}.