git log formatter written in haskell