Idris2/tests/idris2/interactive/interactive042/Issue35.idr
2023-09-07 14:57:22 +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