mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-25 04:33: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]
|