module Main where
+import Control.Monad
import Text.ParserCombinators.Parsec hiding (spaces)
import System.Environment
"#f" -> Bool False
_ -> Atom atom
+parseNumber :: Parser LispVal
+parseNumber = liftM (Number . read) $ many1 digit
+
readExpr :: String -> String
readExpr input = case parse (spaces >> symbol) "lisp" input of
Left err -> "No match: " ++ show err