Idris2/tests/idris2/reg/reg012/Foo.idr
2023-09-07 14:57:22 +01:00

10 lines
133 B
Idris

import Data.Vect
parameters (len : Nat)
record Foo where
constructor Bar
Gnat : Vect len Nat
foo : Foo 1
foo = Bar _ [0]