chore: reintroduce ∅ as regular notation
This commit is contained in:
parent
e1d3a71d6f
commit
99864bbb31
2 changed files with 5 additions and 2 deletions
|
|
@ -110,6 +110,9 @@ infix:50 " ≈ " => HasEquiv.Equiv
|
|||
class EmptyCollection (α : Type u) where
|
||||
emptyCollection : α
|
||||
|
||||
notation "{" "}" => EmptyCollection.emptyCollection
|
||||
notation "∅" => EmptyCollection.emptyCollection
|
||||
|
||||
/- Remark: tasks have an efficient implementation in the runtime. -/
|
||||
structure Task (α : Type u) : Type u where
|
||||
pure :: (get : α)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
emptyc.lean:19:0-19:2: error: ambiguous, possible interpretations
|
||||
{ x := 0 }
|
||||
∅
|
||||
|
||||
EmptyCollection.emptyCollection
|
||||
{ x := 0 }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue