feat(library,hott): new notation for typeof
This commit is contained in:
parent
1e13f383f6
commit
74b28f6ad9
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue