feat: add notation for coe
This commit is contained in:
parent
2537a2b84a
commit
2eb76580f1
1 changed files with 2 additions and 0 deletions
|
|
@ -55,6 +55,8 @@ abbrev coeTC {α : Sort u} {β : Sort v} [CoeTC α β] (a : α) : β :=
|
|||
abbrev coe {α : Sort u} {β : Sort v} (a : α) [CoeT α a β] : β :=
|
||||
CoeT.coe a
|
||||
|
||||
prefix:max "↑" => coe
|
||||
|
||||
abbrev coeFun {α : Sort u} {γ : α → Sort v} (a : α) [CoeFun α γ] : γ a :=
|
||||
CoeFun.coe a
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue