matching on mixfix

This commit is contained in:
2024-09-14 19:46:15 -07:00
parent 331d966ef3
commit 086f3d6541
7 changed files with 70 additions and 15 deletions

View File

@@ -41,5 +41,4 @@ blah : Int -> Int -> Int -> Pair Int (Pair Int Int)
blah x y z = (x, y, z)
curryPlus : Pair Int Int -> Int
curryPlus (_,_ a b) = a + b
-- curryPlus (a , b) = a + b
curryPlus (a, b) = a + b