1
1
mirror of https://github.com/github/semantic.git synced 2024-12-28 09:21:35 +03:00

Add Syntax.Error to Markdown.

This commit is contained in:
Rob Rix 2017-06-07 18:29:53 -04:00
parent a0cf560d25
commit 6e5660c49d

View File

@ -18,12 +18,14 @@ import GHC.Generics
import GHC.Stack import GHC.Stack
import Language.Markdown as Grammar (Grammar(..)) import Language.Markdown as Grammar (Grammar(..))
import qualified Data.Syntax.Assignment as Assignment import qualified Data.Syntax.Assignment as Assignment
import qualified Data.Syntax as Syntax
import Prologue hiding (Location) import Prologue hiding (Location)
import qualified Term import qualified Term
type Syntax = type Syntax =
'[ Document '[ Document
, Paragraph , Paragraph
, Syntax.Error Error
] ]
newtype Document a = Document [a] newtype Document a = Document [a]