mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-16 15:52:43 +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
139 B
Idris
7 lines
139 B
Idris
import Decidable.Equality
|
|
|
|
0 foo : (i, j : Nat) -> Bool
|
|
foo i j = case decEq i j of
|
|
Yes pf => True
|
|
No pf => False
|