[Haskell-cafe] Accumulating and threading output of functions