Idris2/tests/idris2/failing004/Issue2821.idr

13 lines
149 B
Idris
Raw Normal View History

import Data.Vect
f : {n : Nat} -> Vect n Nat
f = replicate _ 0
d : Vect n Nat -> Nat
d = foldl (+) 0
failing "Unsolved hole"
z : Nat
z = d f