RosettaCodeData/Task/Increment-a-numerical-string/Haskell/increment-a-numerical-strin...

2 lines
35 B
Haskell

(show . succ) (read "1234" :: Int)