Shell programming, Haskell-style
