From: Claudio Sacerdoti Coen Date: Mon, 25 Aug 2008 13:18:04 +0000 (+0000) Subject: ... X-Git-Tag: make_still_working~4840 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=0faf538d2a970007527f493c67c17a54fd19d9b7;p=helm.git ... --- diff --git a/helm/software/matita/core_notation.moo b/helm/software/matita/core_notation.moo index 9891129af..99366ac6a 100644 --- a/helm/software/matita/core_notation.moo +++ b/helm/software/matita/core_notation.moo @@ -11,6 +11,19 @@ notation > "\exists list1 ident x sep , opt (: T). term 19 Px" @{ ${ fold right @{$Px} rec acc @{'exists (λ${ident x}.$acc)} } } }. +notation < "hvbox(\Sigma ident i opt (: ty) break . p)" + right associative with precedence 20 +for @{ 'sigma ${default + @{\lambda ${ident i} : $ty. $p} + @{\lambda ${ident i} . $p}}}. + +notation > "\Sigma list1 ident x sep , opt (: T). term 19 Px" + with precedence 20 + for ${ default + @{ ${ fold right @{$Px} rec acc @{'sigma (λ${ident x}:$T.$acc)} } } + @{ ${ fold right @{$Px} rec acc @{'sigma (λ${ident x}.$acc)} } } + }. + notation "hvbox(\langle term 19 a, break term 19 b\rangle)" with precedence 90 for @{ 'pair $a $b}.