A Combined Log format parser in Haskell