Haskell shell scripting