pro-abstract-0.3.0.0: Abstract syntax for writing documents
Safe HaskellNone
LanguageHaskell2010

ProAbstract.Families

Synopsis

Annotation

type family Annotation x Source #

Instances

Instances details
type Annotation (Fragment ann) Source # 
Instance details

Defined in ProAbstract.Structure.Fragment

type Annotation (Fragment ann) = ann
type Annotation (Tag ann) Source # 
Instance details

Defined in ProAbstract.Tag.TagType

type Annotation (Tag ann) = ann
type Annotation (TaggedPlainBlock ann) Source # 
Instance details

Defined in ProAbstract.Structure.PlainBlock

type Annotation (TaggedPlainBlock ann) = ann
type Annotation (PlainBlock ann) Source # 
Instance details

Defined in ProAbstract.Structure.PlainBlock

type Annotation (PlainBlock ann) = ann
type Annotation (TaggedLines ann) Source # 
Instance details

Defined in ProAbstract.Structure.Inline

type Annotation (TaggedLines ann) = ann
type Annotation (Lines ann) Source # 
Instance details

Defined in ProAbstract.Structure.Inline

type Annotation (Lines ann) = ann
type Annotation (Line ann) Source # 
Instance details

Defined in ProAbstract.Structure.Inline

type Annotation (Line ann) = ann
type Annotation (Inline ann) Source # 
Instance details

Defined in ProAbstract.Structure.Inline

type Annotation (Inline ann) = ann
type Annotation (Paragraph ann) Source # 
Instance details

Defined in ProAbstract.Structure.Paragraph

type Annotation (Paragraph ann) = ann
type Annotation (TaggedBlocks ann) Source # 
Instance details

Defined in ProAbstract.Structure.Block

type Annotation (TaggedBlocks ann) = ann
type Annotation (Blocks ann) Source # 
Instance details

Defined in ProAbstract.Structure.Block

type Annotation (Blocks ann) = ann
type Annotation (Block ann) Source # 
Instance details

Defined in ProAbstract.Structure.Block

type Annotation (Block ann) = ann
type Annotation (Document ann) Source # 
Instance details

Defined in ProAbstract.Structure.Document

type Annotation (Document ann) = ann
type Annotation (BlockTagContent ann) Source # 
Instance details

Defined in ProAbstract.Structure.BlockTagContent

type Annotation (BlockTagContent ann) = ann
type Annotation (BlockTag ann) Source # 
Instance details

Defined in ProAbstract.Structure.BlockTag

type Annotation (BlockTag ann) = ann

Content

type family Content a Source #

Instances

Instances details
type Content (Fragment ann) Source # 
Instance details

Defined in ProAbstract.Structure.Fragment

type Content (Fragment ann) = Text
type Content (TaggedPlainBlock ann) Source # 
Instance details

Defined in ProAbstract.Structure.PlainBlock

type Content (TaggedLines ann) Source # 
Instance details

Defined in ProAbstract.Structure.Inline

type Content (TaggedLines ann) = Lines ann
type Content (Paragraph ann) Source # 
Instance details

Defined in ProAbstract.Structure.Paragraph

type Content (Paragraph ann) = Lines ann
type Content (TaggedBlocks ann) Source # 
Instance details

Defined in ProAbstract.Structure.Block

type Content (TaggedBlocks ann) = Blocks ann
type Content (Document ann) Source # 
Instance details

Defined in ProAbstract.Structure.Document

type Content (Document ann) = Blocks ann
type Content (BlockTag ann) Source # 
Instance details

Defined in ProAbstract.Structure.BlockTag

type family Contents a Source #

Instances

Instances details
type Contents (TaggedPlainBlock ann) Source # 
Instance details

Defined in ProAbstract.Structure.PlainBlock

type Contents (PlainBlock ann) Source # 
Instance details

Defined in ProAbstract.Structure.PlainBlock

type Contents (PlainBlock ann) = Fragment ann
type Contents (TaggedLines ann) Source # 
Instance details

Defined in ProAbstract.Structure.Inline

type Contents (TaggedLines ann) = Line ann
type Contents (Lines ann) Source # 
Instance details

Defined in ProAbstract.Structure.Inline

type Contents (Lines ann) = Line ann
type Contents (Line ann) Source # 
Instance details

Defined in ProAbstract.Structure.Inline

type Contents (Line ann) = Inline ann
type Contents (Paragraph ann) Source # 
Instance details

Defined in ProAbstract.Structure.Paragraph

type Contents (Paragraph ann) = Line ann
type Contents (TaggedBlocks ann) Source # 
Instance details

Defined in ProAbstract.Structure.Block

type Contents (TaggedBlocks ann) = Block ann
type Contents (Blocks ann) Source # 
Instance details

Defined in ProAbstract.Structure.Block

type Contents (Blocks ann) = Block ann
type Contents (Document ann) Source # 
Instance details

Defined in ProAbstract.Structure.Document

type Contents (Document ann) = Block ann

Fork or plain

type family Fork a Source #

Instances

Instances details
type Fork (Inline ann) Source # 
Instance details

Defined in ProAbstract.Structure.Inline

type Fork (Inline ann) = TaggedLines ann
type Fork (Block ann) Source # 
Instance details

Defined in ProAbstract.Structure.Block

type Fork (Block ann) = TaggedBlocks ann
type Fork (BlockTagContent ann) Source # 
Instance details

Defined in ProAbstract.Structure.BlockTagContent

type Fork (BlockTagContent ann) = Blocks ann
type Fork (BlockTag ann) Source # 
Instance details

Defined in ProAbstract.Structure.BlockTag

type Fork (BlockTag ann) = TaggedBlocks ann

type family Plain a Source #

Instances

Instances details
type Plain (Inline ann) Source # 
Instance details

Defined in ProAbstract.Structure.Inline

type Plain (Inline ann) = Fragment ann
type Plain (Block ann) Source # 
Instance details

Defined in ProAbstract.Structure.Block

type Plain (Block ann) = TaggedPlainBlock ann
type Plain (BlockTagContent ann) Source # 
Instance details

Defined in ProAbstract.Structure.BlockTagContent

type Plain (BlockTag ann) Source # 
Instance details

Defined in ProAbstract.Structure.BlockTag

Tagged or bare

type family TaggedType a Source #

Instances

Instances details
type TaggedType (Inline ann) Source # 
Instance details

Defined in ProAbstract.Structure.IsTaggedOrBare

type TaggedType (Inline ann) = TaggedLines ann
type TaggedType (Block ann) Source # 
Instance details

Defined in ProAbstract.Structure.IsTaggedOrBare

type TaggedType (Block ann) = BlockTag ann
type TaggedType (TaggedOrBare a) Source # 
Instance details

Defined in ProAbstract.Structure.IsTaggedOrBare

type family BareType a Source #

Instances

Instances details
type BareType (Inline ann) Source # 
Instance details

Defined in ProAbstract.Structure.IsTaggedOrBare

type BareType (Inline ann) = Fragment ann
type BareType (Block ann) Source # 
Instance details

Defined in ProAbstract.Structure.IsTaggedOrBare

type BareType (Block ann) = Paragraph ann
type BareType (TaggedOrBare a) Source # 
Instance details

Defined in ProAbstract.Structure.IsTaggedOrBare