Haskell Function Definition Computer