Haskell Functions in file