1
1
mirror of https://github.com/github/semantic.git synced 2025-01-04 21:47:07 +03:00

🔥 the Parser type synonym.

This commit is contained in:
Rob Rix 2017-05-19 09:43:31 -04:00
parent 7c3309d571
commit b9e947b605

View File

@ -3,7 +3,3 @@ module Parser where
import Prologue
import Source
-- | A function that takes a source blob and returns an annotated AST.
-- | The return is in the IO monad because some of the parsers are written in C
-- | and aren't pure.
type Parser f a = SourceBlob -> IO (Cofree f a)