I am new to Haskell and also in programming. I'm trying to learn Haskell with exercises already done.
Just now I get an error that says the following.
error: parse error on input "n", failed modules load: none
From the following code
listaMatriz :: Num a => [[a]] -> Matriz a
listaMatriz xss = listArray ((1,1),(m,n)) (concat xss)
where m = length xss
n = length (head xss)
What do you think is the problem? I can not identify it.