mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 02:31:50 +03:00
384c8874c2
For error reporting purposes it's better to have an (approximate) virtual location for code that was introduced by the elaborator than to have an `EmptyFC` that does not help.
6 lines
69 B
Idris
6 lines
69 B
Idris
record Nat2 where
|
|
nat : Nat
|
|
|
|
f : Nat2 -> Nat2
|
|
f = { nat $= floor }
|