mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-17 08:11:45 +03:00
10 lines
133 B
Idris
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]
|