mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 02:31:50 +03:00
12 lines
290 B
Plaintext
12 lines
290 B
Plaintext
1/1: Building Implicit (Implicit.idr)
|
|
Error: Expected '}'.
|
|
|
|
Implicit:6:15--6:17
|
|
2 |
|
|
3 | myReverse : Vect n el -> Vect n el
|
|
4 | myReverse [] = []
|
|
5 | myReverse {n = S k} (x :: xs) =
|
|
6 | replace {p=\n => Vect n el} (plusCommutative k 1) (myReverse xs ++ [x])
|
|
^^
|
|
|