[Haskell-beginners] how to specify type class in type of function?