mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 00:10:31 +03:00
13 lines
360 B
Plaintext
13 lines
360 B
Plaintext
1/1: Building Test (Test.idr)
|
|
Error: More than 1 non-erased arguments found for Main.finToInteger.
|
|
|
|
Test.idr:11:1--11:39
|
|
07 | finToInteger : {k : _} -> Fin k -> Integer
|
|
08 | finToInteger FZ = 0
|
|
09 | finToInteger (FS k) = 1 + finToInteger k
|
|
10 |
|
|
11 | %builtin NaturalToInteger finToInteger
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
Main> Bye for now!
|