Idris2/tests/idris2/error/error022/expected
2023-09-07 14:57:22 +01:00

16 lines
301 B
Plaintext

1/1: Building UpdateLoc (UpdateLoc.idr)
Error: While processing right hand side of f. When unifying:
Nat
and:
Double
Mismatch between: Nat and Double.
UpdateLoc:5:5--5:21
1 | record Nat2 where
2 | nat : Nat
3 |
4 | f : Nat2 -> Nat2
5 | f = { nat $= floor }
^^^^^^^^^^^^^^^^