update haskell print snippet