Idris2/tests/idris2/builtin004/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
64 B
Idris

data MyNat
= S (Inf MyNat)
| Z
%builtin Natural MyNat