mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-16 15:52:43 +03:00
12 lines
293 B
Plaintext
12 lines
293 B
Plaintext
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.idr:4:16--4:21
|
|
1 | data MyN = MkN Nat Nat
|
|
2 |
|
|
3 | foo : Nat -> Nat -> Nat
|
|
4 | foo x y = case MkN x of
|
|
^^^^^
|
|
|