2014-04-11から1日間の記事一覧

Convert String into Int in Haskell

There is well-known function read :: Read a => String -> a. Many blogs tell you to use "read" to convert string to number or something else (if it's a instance of Read class). There are 3 problems. Prelude Exception is told obsolete. use C…