Idris2/tests/idris2/basic030/expected

12 lines
289 B
Plaintext
Raw Normal View History

1/1: Building arity (arity.idr)
Error: While processing right hand side of foo. When unifying Nat -> MyN and MyN.
Mismatch between: Nat -> MyN and MyN.
arity:4:16--4:21
2021-02-11 20:24:26 +03:00
1 | data MyN = MkN Nat Nat
2 |
3 | foo : Nat -> Nat -> Nat
2020-07-22 22:16:43 +03:00
4 | foo x y = case MkN x of
2021-02-11 20:24:26 +03:00
^^^^^