I am trying to write a parser for strings such as x, A, 657 and 0. Here is the code I wrote.
x
A
657
0
import Text.P