[Haskell-beginners] finding the exact instance of a function causing an error