Idris2/tests/idris2/reg/reg053/ImplicitParam.idr

8 lines
128 B
Idris

import Data.Vect
-- m was not in scope when n is implicit
parameters {n : Nat}
foo : Vect m Nat -> Nat
foo xs = ?hole