Command-line processing for haskell version.