1
1
mirror of https://github.com/github/semantic.git synced 2024-12-01 00:33:59 +03:00

🔥 Declaration.Function, Declaration.Method, & Syntax.Context from Markdown syntax.

This commit is contained in:
Rob Rix 2017-10-03 15:29:37 -04:00
parent 4717bde7a8
commit d2382539d1

View File

@ -14,7 +14,6 @@ import Data.Syntax (makeTerm)
import qualified Data.Syntax as Syntax
import Data.Syntax.Assignment hiding (Assignment, Error)
import qualified Data.Syntax.Assignment as Assignment
import qualified Data.Syntax.Declaration as Declaration
import qualified Data.Syntax.Markup as Markup
import Data.Term as Term (Term(..), TermF(..), termIn, unwrap)
import qualified Data.Text as Text
@ -46,10 +45,6 @@ type Syntax =
, Markup.Strong
, Markup.Text
, Markup.Strikethrough
-- NB: Diffing requires Methods, Functions, and Context in the union.
, Declaration.Method
, Declaration.Function
, Syntax.Context
-- Assignment errors; cmark does not provide parse errors.
, Syntax.Error
, []