Hello, I was following this tutorial FP 9 - Exercises On Recursion - YouTube
when I came across a specific a parse error in the code
(!!) :: [a] -> Int -> a
(x:_) !! 0 = x
(_:xs) !! n = xs !! (n-1)
I tried using Prelude.!! but that created errors for the rest of my code.
Any suggestions?