Idris2/tests/idris2/builtin008/expected

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!