chore: reintroduce as regular notation

This commit is contained in:
Sebastian Ullrich 2021-05-06 22:35:23 +02:00
parent e1d3a71d6f
commit 99864bbb31
2 changed files with 5 additions and 2 deletions

View file

@ -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 : α)

View file

@ -1,4 +1,4 @@
emptyc.lean:19:0-19:2: error: ambiguous, possible interpretations
{ x := 0 }
EmptyCollection.emptyCollection
{ x := 0 }