mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-22 03:01:31 +03:00
7baf698f66
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
15 lines
298 B
Plaintext
15 lines
298 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:4:16--4:21
|
|
1 | data MyN = MkN Nat Nat
|
|
2 |
|
|
3 | foo : Nat -> Nat -> Nat
|
|
4 | foo x y = case MkN x of
|
|
^^^^^
|
|
|