commonmark-0.1.0.1: Pure Haskell commonmark parser.

Safe HaskellSafe
LanguageHaskell2010

Commonmark.Syntax

Synopsis

Documentation

data SyntaxSpec m il bl Source #

A SyntaxSpec defines a basic collection of syntax elements or an extension. SyntaxSpecs can be composed using monoidal mappend.

Constructors

SyntaxSpec 

Fields

Instances
Semigroup (SyntaxSpec m il bl) Source # 
Instance details

Defined in Commonmark.Syntax

Methods

(<>) :: SyntaxSpec m il bl -> SyntaxSpec m il bl -> SyntaxSpec m il bl #

sconcat :: NonEmpty (SyntaxSpec m il bl) -> SyntaxSpec m il bl #

stimes :: Integral b => b -> SyntaxSpec m il bl -> SyntaxSpec m il bl #

Monoid (SyntaxSpec m il bl) Source # 
Instance details

Defined in Commonmark.Syntax

Methods

mempty :: SyntaxSpec m il bl #

mappend :: SyntaxSpec m il bl -> SyntaxSpec m il bl -> SyntaxSpec m il bl #

mconcat :: [SyntaxSpec m il bl] -> SyntaxSpec m il bl #

defaultSyntaxSpec :: (Monad m, IsBlock il bl, IsInline il) => SyntaxSpec m il bl Source #

Standard commonmark syntax.