blob: 7dc01e36e472a1d26e8bd68364ea2c7d44d63f61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
module Main (main)
where
import Data.Char (digitToInt, lexLitChar, readLitChar)
main :: IO ()
main =
do putStrLn (show $ readLitChar "A")
putStrLn (show $ readLitChar "'A'")
putStrLn (show $ lexLitChar "A")
putStrLn (show $ lexLitChar "'A'")
|