[Haskell-beginners] Why do class instance functions behave differently when executed directly in WinGHCi than when loaded from a file?