[Haskell-beginners] why is ScopedTypeVariables not fixing this error?