@@ -14,9 +14,9 @@ infixr 7 ::
1414data Vect : Nat -> Type -> Type where
1515 ||| Empty vector
1616 Nil : Vect Z a
17− ||| A non-empty vector of length `S n`, consisting of a head element and
18− ||| the rest of the list, of length `n`.
19− (::) : (x : a) -> (xs : Vect n a) -> Vect (S n) a
17+ ||| A non-empty vector of length `S k`, consisting of a head element and
18+ ||| the rest of the list, of length `k`.
19+ (::) : (x : a) -> (xs : Vect k a) -> Vect (S k) a
2020
2121-- Hints for interactive editing
2222%name Vect xs,ys,zs,ws