Idris2/tests/idris2/interactive042/Issue35.idr
2022-04-29 12:52:23 +01:00

11 lines
253 B
Idris

test : {a : Nat} -> (b : Nat) -> a === b -> Nat
test a eq = ?a
data Vect : Nat -> Type -> Type where
Nil : Vect 0 a
(::) : a -> Vect n a -> Vect (S n) a
append : Vect n a -> Vect m a -> Vect (n + m) a
append [] ys = ys
append (x :: xs) ys = ?help