Skip to content

Commit

Permalink
update parser to handle strings
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwespiser committed Apr 17, 2016
1 parent e1e6cc7 commit 05855b1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Parser.hs
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,16 @@ contents p = do
return r

parseString :: Parser LispVal
parseString = do
x <- strLit
return $ String x
{-
parseString = do
reservedOp "\""
x <- strLit
reservedOp "\""
return $ String x

-}
parseAtom :: Parser LispVal
parseAtom = do
atom <- symbol
Expand Down

0 comments on commit 05855b1

Please sign in to comment.