Idris2/tests/idris2/interactive/interactive035/unify.idr
2023-09-07 14:57:22 +01:00

8 lines
167 B
Idris

import Data.Vect
data VectN : Type -> Type where
MkVectN : (n : Nat) -> Vect n a -> VectN a
doSearch : Nat -> VectN Int
doSearch n = MkVectN ?vlength [1,2,3,4]