1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 06:11:49 +03:00

Lost this formatting

This commit is contained in:
Timothy Clem 2018-04-10 15:16:52 -07:00
parent e1160a19a9
commit 3a000ca7c0

View File

@ -81,7 +81,7 @@ data Parser term where
-- | A parser for 'Markdown' using cmark.
MarkdownParser :: Parser (Term (TermF [] CMarkGFM.NodeType) (Node Markdown.Grammar))
-- | Apply all of a list of typeclasses to all of a list of functors using 'Apply'. Used by 'someParser to constrain all of the language-specific syntax types to the typeclasses in question.
-- | Apply all of a list of typeclasses to all of a list of functors using 'Apply'. Used by 'someParser' to constrain all of the language-specific syntax types to the typeclasses in question.
type family ApplyAll (typeclasses :: [(* -> *) -> Constraint]) (syntax :: * -> *) :: Constraint where
ApplyAll (typeclass ': typeclasses) syntax = (typeclass syntax, ApplyAll typeclasses syntax)
ApplyAll '[] syntax = ()