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

@@ -51,7 +51,7 @@ part1 text digits =
let nums = map combine $ map digits lines in
foldl _+_ 0 nums
infixl 3 _>>_
infixl 1 _>>_
_>>_ : {A B : U} -> A -> B -> B
a >> b = b