Idris2/tests/idris2/builtin003/Test.idr
Zoe Stafford c75b3f7f14
Add Agda-like builtins (#1253)
Co-authored-by: Guillaume ALLAIS <guillaume.allais@ens-lyon.org>
2021-04-22 13:08:32 +01:00

7 lines
99 B
Idris

data Fin : Nat -> Type where
FS : Fin k -> Fin (S k)
FZ : Fin (S k)
%builtin Natural Fin