blob: 3bb1492ba0c5e281be79589d7f14f4cc3719422c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[unknown location] Type error: Wrong type of function argument
--> 1:22
|
1 | (λ(_ : Natural) → _) True␊
| ^--^
|
= This argument has type Value@WHNF { value: AppliedBuiltin(Bool, []), type: Type }
--> 1:8
|
1 | (λ(_ : Natural) → _) True␊
| ^-----^
|
= But the function expected an argument of type Value@NF { value: AppliedBuiltin(Natural, []), type: Type }
|