Open hyphenrf opened 2 years ago
Hi, first time contributing.. I found this while reading the docs.
The example still doesn't work without pattern matching on n too:
n
uninterleave : {n : Nat} -> Vect (n * 2) a -> (Vect n a, Vect n a) uninterleave {n = Z} [] = ([] , []) uninterleave {n = S n} (x :: y :: rest) with (uninterleave rest) | (xs, ys) = (x :: xs, y :: ys)
Hi, first time contributing.. I found this while reading the docs.
The example still doesn't work without pattern matching on
n
too: