A barebones console applications in Haskell