mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-14 22:02:07 +03:00
18 lines
264 B
Idris
18 lines
264 B
Idris
||| Tests for issue #269
|
|
import Data.Vect
|
|
|
|
%unbound_implicits off
|
|
|
|
record Foo (x : Vect n Nat) where
|
|
constructor MkFoo
|
|
|
|
parameters (Foo : Vect n Nat)
|
|
bar : Nat
|
|
bar = 0
|
|
|
|
|
|
interface Foo (a : Vect n Nat) where
|
|
baz : Nat
|
|
|
|
implementation Functor (Vect n) where
|