1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00

Correct the docs for parse.

This commit is contained in:
Rob Rix 2017-07-20 10:23:35 -04:00 committed by GitHub
parent f9ce0a9e63
commit 734e42802d

View File

@ -63,7 +63,7 @@ writeToOutput :: Either Handle FilePath -> ByteString -> Task ()
writeToOutput path contents = WriteToOutput path contents `Then` return writeToOutput path contents = WriteToOutput path contents `Then` return
-- | A 'Task' which parses 'Source' with the given 'Parser'. -- | A 'Task' which parses a 'Blob' with the given 'Parser'.
parse :: Parser term -> Blob -> Task term parse :: Parser term -> Blob -> Task term
parse parser blob = Parse parser blob `Then` return parse parser blob = Parse parser blob `Then` return