mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 00:10:31 +03:00
a972778eab
They don't all pass yet, for minor reasons. Coming shortly... Unfortunately the startup overhead for chez is really noticeable here!
7 lines
166 B
Idris
7 lines
166 B
Idris
foo : Nat -> Nat -> Bool
|
|
foo x y with (x == y)
|
|
foo x y | True with (y == x)
|
|
foo x y | True | False | 10 = x
|
|
foo x y | True | True = x
|
|
foo x y | False = y
|