Back to Fpinscala

06.Hint

answerkey/parsing/06.hint.md

latest131 B
Original Source

Given a string of digits, s, you can use s.toInt to convert that to an Int or s.toIntOption to convert to an Option[Int].