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:
parent
7c3309d571
commit
b9e947b605
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user