Idris2/tests/idris2/builtin/builtin012/Issue1799.idr
2023-09-07 14:57:22 +01:00

12 lines
190 B
Idris

module Main
import Data.Fin
%builtin Natural Nat
%builtin Natural Fin
%builtin NaturalToInteger Data.Fin.finToInteger
main : IO ()
main = putStrLn $ show $ finToInteger $ FS $ FZ {k=34}