[Haskell-beginners] specify type for a function in GHCi