Install Haskell https://www.haskell.org/platform/ Compile ghc --make Haskell_File_Name Execute: ./Haskell_File_Name To run as a module: ghci :l file_name then type function name with params