feat(library,hott): new notation for typeof

This commit is contained in:
Leonardo de Moura 2015-03-24 18:35:21 -07:00
parent 1e13f383f6
commit 74b28f6ad9
2 changed files with 2 additions and 0 deletions

View file

@ -100,3 +100,4 @@ reserve infixr `::`:65
definition is_typeof (A : Type) (a : A) : A := a definition is_typeof (A : Type) (a : A) : A := a
notation `typeof` t `:` T := is_typeof T t notation `typeof` t `:` T := is_typeof T t
notation `(` t `:` T `)` := is_typeof T t

View file

@ -97,3 +97,4 @@ reserve infixr `::`:65
definition is_typeof (A : Type) (a : A) : A := a definition is_typeof (A : Type) (a : A) : A := a
notation `typeof` t `:` T := is_typeof T t notation `typeof` t `:` T := is_typeof T t
notation `(` t `:` T `)` := is_typeof T t