additional syntactic sugar

- allow multiple names in infix, typesig, and dcon defs
- align fixities with Idris
This commit is contained in:
2024-10-23 21:41:36 -07:00
parent 8c8cdf4f7f
commit 8fe9613c02
8 changed files with 40 additions and 45 deletions

View File

@@ -18,7 +18,7 @@ data List : U -> U where
-- Currently if I say _::_ = Cons, it gets curried
infixr 4 _::_
infixr 7 _::_
_::_ : {a : U} -> a -> List a -> List a
_::_ x xs = Cons x xs