haskell int to text code example Example: haskell int to text Prelude> show 3 "3" Prelude> read $ show 3 :: Int 3