mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-18 18:31:43 +03:00
c1bc4330fa
They might match on runtime-erased things (which is okay, since they're erased too!) and if we try building the tree, it'll report an error incorrectly. Fixes #229
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
|