Skip to content

Commit

Permalink
Fix parse function typo (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
samritchie authored and tmspzz committed Feb 22, 2019
1 parent 8b61ce8 commit c190c63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Data/Carthage/Cartfile.hs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ parseCartfileResolved = liftIO . Parsec.parseFromFile
<$> ( (Parsec.many $ do
line <-
Parsec.optional Parsec.endOfLine
*> ( Parsec.try parseEmtpyLine
*> ( Parsec.try parseEmptyLine
<|> Parsec.try parseDependency
<|> Parsec.try parseComment
)
Expand All @@ -96,5 +96,5 @@ parseComment =
>> Parsec.manyTill Parsec.anyChar (Parsec.lookAhead Parsec.endOfLine)
>> return Comment

parseEmtpyLine :: Parsec.Parsec String () CartfileLine
parseEmtpyLine = Parsec.many1 Parsec.space >> return EmptyLine
parseEmptyLine :: Parsec.Parsec String () CartfileLine
parseEmptyLine = Parsec.many1 Parsec.space >> return EmptyLine

0 comments on commit c190c63

Please sign in to comment.