updates haskell show functions'