A syslog event parser in Haskell