h&WJ!      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ Safe-Inferred 'Copyright (C) 2006-2023 John MacFarlaneBSD3"John MacFarlane alphaportable Safe-Inferred "(6;1?  pandoc-typesInline elements. pandoc-types Text (string) pandoc-types!Emphasized text (list of inlines) pandoc-types!Underlined text (list of inlines) pandoc-types*Strongly emphasized text (list of inlines) pandoc-types Strikeout text (list of inlines) pandoc-types$Superscripted text (list of inlines) pandoc-types"Subscripted text (list of inlines) pandoc-types!Small caps text (list of inlines) pandoc-typesQuoted text (list of inlines) pandoc-typesCitation (list of inlines) pandoc-typesInline code (literal) pandoc-typesInter-word space pandoc-typesSoft line break pandoc-typesHard line break pandoc-typesTeX math (literal) pandoc-types Raw inline pandoc-types-Hyperlink: alt text (list of inlines), target pandoc-types*Image: alt text (list of inlines), target  pandoc-typesFootnote or endnote! pandoc-types(Generic inline container with attributes" pandoc-types)Type of math element (display or inline).% pandoc-typesLink target (URL, title).& pandoc-types0Type of quotation marks to use in Quoted inline.) pandoc-typesBlock element.* pandoc-typesPlain text, not a paragraph+ pandoc-types Paragraph, pandoc-typesMultiple non-breaking lines- pandoc-types$Code block (literal) with attributes. pandoc-types Raw block/ pandoc-typesBlock quote (list of blocks)0 pandoc-typesOrdered list (attributes and a list of items, each a list of blocks)1 pandoc-types2Bullet list (list of items, each a list of blocks)2 pandoc-typesDefinition list. Each list item is a pair consisting of a term (a list of inlines) and one or more definitions (each a list of blocks)3 pandoc-types+Header - level (integer) and text (inlines)4 pandoc-typesHorizontal rule5 pandoc-typesTable, with attributes, caption, optional short caption, column alignments and widths (required), table head, table bodies, and table foot6 pandoc-types>Figure, with attributes, caption, and content (list of blocks)7 pandoc-types'Generic block container with attributes8 pandoc-types>The number of columns occupied by a cell; the width of a cell.: pandoc-types pandoc-types>The caption of a table or figure, with optional short caption.@ pandoc-types>> let img = Para [Image undefined undefined (undefined, T.pack "title")] >>> case img of { SimpleFigure _ _ _ -> True; _ -> False } False >>> let fig = Para [Image undefined undefined (undefined, T.pack "fig:title")] >>> case fig of { SimpleFigure _ _ tit -> snd tit; _ -> T.pack "" } "title"t pandoc-types(Retrieve the metadata value for a given key.u pandoc-types>Extract document title from metadata; works just like the old docTitle.v pandoc-typesExtract document authors from metadata; works just like the old  docAuthors.w pandoc-types4Extract date from metadata; works just like the old docDate. ! "#$%&'()075*+,-./1234689:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxoplmnefghijkrstuvw)075*+,-./12346q ! d\]^_`abcWXYZ[TUVx>?@RSMNOPQJKLIGHEFCDAB<=:;89&'(%"#$ 'Copyright (C) 2010-2023 John MacFarlaneBSD3"John MacFarlane alphaportable Safe-Inferred "5689:;1@ pandoc-typesTrim leading and trailing spaces and softbreaks from an Inlines. pandoc-types Convert a  to , treating interword spaces as s or s. If you want a  with literal spaces, use . pandoc-typesInline code with attributes. pandoc-typesPlain inline code. pandoc-types Inline math pandoc-types Display math pandoc-typesA code block with attributes. pandoc-typesA plain code block. pandoc-typesOrdered list with attributes. pandoc-types%Ordered list with default attributes. pandoc-types"A 11 cell with default alignment. pandoc-typesA 11 empty cell. pandoc-types+Table builder. Performs normalization with , , and 9. The number of table columns is given by the length of [I]. pandoc-types!A simple table without a caption. pandoc-typesCreates a simple figure from attributes, a figure caption, an image path and image title. The attributes are used as the image attributes. pandoc-typesNormalize the E with  and  so that when placed on a grid with the given width and a height equal to the number of rows in the initial E, there will be no empty spaces or overlapping cells, and the cells will not protrude beyond the grid. pandoc-types7Normalize the intermediate head and body section of a C, as in , but additionally ensure that row head cells do not go beyond the row head inside the intermediate body. pandoc-typesNormalize the A, as in . pandoc-typesNormalize the given list of cells so that they fit on a single grid row. The : values of the cells are assumed to be valid (clamped to lie between 1 and the remaining grid height). The cells in the list are also assumed to be able to fill the entire grid row. These conditions can be met by appending repeat  to the [<] list and using ) on the entire table section beforehand.Normalization follows the principle that cells are placed on a grid row in order, each at the first available grid position from the left, having their 8 reduced if they would overlap with a previous cell, stopping once the row is filled. Only the dimensions of cells are changed, and only of those cells that fit on the row.-Possible overlap is detected using the given [:], which is the "overhang" of the previous grid row, a list of the heights of cells that descend through the previous row, reckoned only from the previous row. Its length should be the width (number of columns) of the current grid row.For example, the numbers in the following headerless grid table represent the overhang at each grid position for that table:  1 1 1 1 +---+---+---+---+ | 1 | 2 2 | 3 | +---+ + + | 1 | 1 1 | 2 | +---+---+---+ + | 1 1 | 1 | 1 | +---+---+---+---+ ;In any table, the row before the first has an overhang of replicate tableWidth 1, since there are no cells to descend into the table from there. The overhang of the first row in the example is  [1, 2, 2, 3]. So if after 8 the unnormalized second row of that example table were r = [("a", 1, 2),("b", 2, 3)] -- the cells displayed as (label, RowSpan, ColSpan) onlya correct invocation of  to normalize it would be4placeRowSection [1, 2, 2, 3] $ r ++ repeat emptyCell([1, 1, 1, 2], [("a", 1, 1)], [("b", 2, 3)] ++ repeat emptyCell) -- wouldn't stop printing, of courseand if the third row were only  [("c", 1, 2)], then the expression would beplaceRowSection [1, 1, 1, 2] $ [("c", 1, 2)] ++ repeat emptyCell:([1, 1, 1, 1], [("c", 1, 2), emptyCell], repeat emptyCell) pandoc-typesEnsure that the height of each cell in a table section lies between 1 and the distance from its row to the end of the section. So if there were four rows in the input list, the cells in the second row would have their height clamped between 1 and 3.  pandoc-typesURL pandoc-typesTitle pandoc-typesLabel pandoc-types Attributes pandoc-typesURL pandoc-typesTitle pandoc-typesLabel pandoc-typesURL pandoc-typesTitle pandoc-typesAlt text pandoc-types Attributes pandoc-typesURL pandoc-typesTitle pandoc-typesAlt text pandoc-typesLevel pandoc-typesHeaders pandoc-typesRows pandoc-typesThe desired width of the table pandoc-typesThe desired width of the table pandoc-types:The width of the row head, between 0 and the table width pandoc-types&The overhang of the previous grid row pandoc-types The cells to lay on the grid row pandoc-typesThe overhang of the current grid row, the normalized cells that fit on the current row, and the remaining unmodified cells  !"#$%&'()64321/.-,+*50789:;<=>?@ABCDEFGHIJKLMQPNORSTUVW[ZXY\cba`_]^dekjihfglmnopqrstuvwx Safe-Inferred"3('Copyright (C) 2006-2023 John MacFarlaneBSD3"John MacFarlane alphaportable Safe-Inferred5 pandoc-typesApplies a transformation on as to matching elements in a b., moving from the bottom of the structure up. pandoc-typesApplies a transformation on as to matching elements in a b-, moving from the top of the structure down. pandoc-typesLike #, but with monadic transformations. pandoc-typesRuns a query on matching a elements in a c2. The results of the queries are combined using .'Copyright (C) 2013-2023 John MacFarlaneBSD3"John MacFarlane alphaportable Safe-InferredD pandoc-typeswalk f x walks the structure x2 (bottom up) and replaces every occurrence of an a with the result of applying f to it. pandoc-typesA monadic version of . pandoc-types query f x walks the structure x (bottom up) and applies f to every a, appending the results. pandoc-types/Helper method to walk to elements nested below   nodes.When walking an inline with this function, only the contents of the traversed inline element may change. The element itself, i.e. its constructor, cannot be changed. pandoc-types,Perform a query on elements nested below an  & element by querying nested lists of Inlines, Blocks, or Citations. pandoc-types/Helper method to walk to elements nested below ) nodes.When walking a block with this function, only the contents of the traversed block element may change. The element itself, i.e. its constructor, its V1, and its raw text value, will remain unchanged. pandoc-types+Perform a query on elements nested below a )3 element by querying all directly nested lists of Inlines or Blocks. pandoc-types/Helper method to walk to elements nested below e nodes.When walking a meta value with this function, only the contents of the traversed meta value element may change. MetaBool and  MetaString will always remain unchanged. pandoc-typesHelper method to walk e nodes nested below e nodes. pandoc-types+Perform a query on elements nested below a e3 element by querying all directly nested lists of Inline s, list of Blocks, or lists or maps of  MetaValues. pandoc-typesPerform a query on e elements nested below a e element pandoc-types/Helper method to walk to elements nested below  nodes.The non-inline contents of a citation will remain unchanged during traversal. Only the inline contents, viz. the citation's prefix and postfix, will be traversed further and can thus be changed during this operation. pandoc-types+Perform a query on elements nested below a - element by querying the prefix and postfix Inline lists. pandoc-types0Helper method to walk the elements nested below G nodes. The V, component is not changed by this operation. pandoc-typesQuery the elements below a G element. pandoc-types0Helper method to walk the elements nested below E nodes. The V, component is not changed by this operation. pandoc-typesQuery the elements below a E element. pandoc-types0Helper method to walk the elements nested below C nodes. The V and R/ components are not changed by this operation. pandoc-typesQuery the elements below a C element. pandoc-types0Helper method to walk the elements nested below A nodes. The V, component is not changed by this operation. pandoc-typesQuery the elements below a A element. pandoc-types0Helper method to walk the elements nested below < nodes. Only the [)], cell content is changed by this operation. pandoc-typesQuery the elements below a < element. pandoc-types0Helper method to walk the elements nested below > nodes. pandoc-typesQuery the elements below a < element. pandoc-types9Helper method to walk the components of a Pandoc element. pandoc-types3Query a pandoc element by recursing first into its l data and then append the result of recursing into the list of )s.'Copyright (C) 2013-2023 John MacFarlaneBSD3"John MacFarlane alphaportable Safe-InferredI pandoc-types convert a function into a filter that reads pandoc's JSON serialized output from stdin, transforms it by walking the AST and applying the specified function, and serializes the result as JSON to stdout.6For a straight transformation, use a function of type a -> a or  a -> IO a where a = ),  , o, l, or e.If your transformation needs to be sensitive to the script's arguments, use a function of type [String] -> a -> a (with a constrained as above). The [String]/ will be populated with the script's arguments."An alternative is to use the type Maybe Format -> a -> a. This is appropriate when the first argument of the script (if present) will be the target format, and allows scripts to behave differently depending on the target format. The pandoc executable automatically provides the target format as argument when scripts are called using the `--filter` option.  !"#$%&'()64321/.-,+*50789:;<=>?@ABCDEFGHIJKLMQPNORSTUVW[ZXY\cba`_]^dekjihfglmnopqrstuvwx     !"#$%&'()*+,-./0123456789:;<=>?@AABBCCDDEFFGGHHIIJKKLMNOPQRRSSTUVWXYZ[\]^_`abcdefghijjkllmnopqrstuvwxyz{|}~ *pandoc-types-1.23.1-GMI0eDMy6gzHsoZ4CYbGoZText.Pandoc.BuilderText.Pandoc.DefinitionText.Pandoc.ArbitraryText.Pandoc.GenericText.Pandoc.WalkText.Pandoc.JSONPaths_pandoc_typesbaseGHC.Base<> CitationMode AuthorInTextSuppressAuthorNormalCitationCitation citationIdcitationPrefixcitationSuffix citationModecitationNoteNum citationHashInlineStrEmph UnderlineStrong Strikeout Superscript Subscript SmallCapsQuotedCiteCodeSpace SoftBreak LineBreakMath RawInlineLinkImageNoteSpanMathType DisplayMath InlineMathTarget QuoteType SingleQuote DoubleQuoteBlockPlainPara LineBlock CodeBlockRawBlock BlockQuote OrderedList BulletListDefinitionListHeaderHorizontalRuleTableFigureDivColSpanRowSpanCellCaption ShortCaption TableFoot TableBody TableHeadRowColSpecColWidthColWidthDefault Alignment AlignLeft AlignRight AlignCenter AlignDefaultRowHeadColumnsFormatAttrListNumberDelim DefaultDelimPeriodOneParen TwoParensListNumberStyle DefaultStyleExampleDecimal LowerRoman UpperRoman LowerAlpha UpperAlphaListAttributes MetaValueMetaMapMetaListMetaBool MetaString MetaInlines MetaBlocksMetaunMetaPandoc SimpleFigurenullMeta isNullMeta lookupMetadocTitle docAuthorsdocDatenullAttr $fOrdFormat $fEqFormat$fIsStringFormat $fOrdCitation $fMonoidMeta$fSemigroupMeta$fMonoidPandoc$fSemigroupPandoc $fEqPandoc $fOrdPandoc $fReadPandoc $fShowPandoc $fDataPandoc$fGenericPandoc$fEqMeta $fOrdMeta $fShowMeta $fReadMeta $fDataMeta $fGenericMeta $fEqMetaValue$fOrdMetaValue$fShowMetaValue$fReadMetaValue$fDataMetaValue$fGenericMetaValue$fShowCitation $fEqCitation$fReadCitation$fDataCitation$fGenericCitation $fShowInline $fEqInline $fOrdInline $fReadInline $fDataInline$fGenericInline $fEqBlock $fOrdBlock $fReadBlock $fShowBlock $fDataBlock$fGenericBlock $fEqCaption $fOrdCaption $fShowCaption $fReadCaption $fDataCaption$fGenericCaption $fEqTableFoot$fOrdTableFoot$fShowTableFoot$fReadTableFoot$fDataTableFoot$fGenericTableFoot$fEqRow$fOrdRow $fShowRow $fReadRow $fDataRow $fGenericRow$fEqCell $fOrdCell $fShowCell $fReadCell $fDataCell $fGenericCell $fEqTableBody$fOrdTableBody$fShowTableBody$fReadTableBody$fDataTableBody$fGenericTableBody $fEqTableHead$fOrdTableHead$fShowTableHead$fReadTableHead$fDataTableHead$fGenericTableHead$fShowCitationMode$fEqCitationMode$fOrdCitationMode$fReadCitationMode$fDataCitationMode$fGenericCitationMode$fShowMathType $fEqMathType $fOrdMathType$fReadMathType$fDataMathType$fGenericMathType$fShowQuoteType $fEqQuoteType$fOrdQuoteType$fReadQuoteType$fDataQuoteType$fGenericQuoteType $fEqColSpan $fOrdColSpan $fShowColSpan $fReadColSpan $fDataColSpan$fGenericColSpan $fNumColSpan $fEnumColSpan$fToJSONColSpan$fFromJSONColSpan $fEqRowSpan $fOrdRowSpan $fShowRowSpan $fReadRowSpan $fDataRowSpan$fGenericRowSpan $fNumRowSpan $fEnumRowSpan$fToJSONRowSpan$fFromJSONRowSpan $fEqColWidth $fOrdColWidth$fShowColWidth$fReadColWidth$fDataColWidth$fGenericColWidth $fEqAlignment$fOrdAlignment$fShowAlignment$fReadAlignment$fDataAlignment$fGenericAlignment$fEqRowHeadColumns$fOrdRowHeadColumns$fShowRowHeadColumns$fReadRowHeadColumns$fDataRowHeadColumns$fGenericRowHeadColumns$fNumRowHeadColumns$fEnumRowHeadColumns$fToJSONRowHeadColumns$fFromJSONRowHeadColumns $fReadFormat $fShowFormat $fDataFormat$fGenericFormat$fToJSONFormat$fFromJSONFormat$fEqListNumberDelim$fOrdListNumberDelim$fShowListNumberDelim$fReadListNumberDelim$fDataListNumberDelim$fGenericListNumberDelim$fEqListNumberStyle$fOrdListNumberStyle$fShowListNumberStyle$fReadListNumberStyle$fDataListNumberStyle$fGenericListNumberStylepandocTypesVersion$fNFDataPandoc $fNFDataBlock$fNFDataRowHeadColumns$fNFDataColWidth$fNFDataListNumberStyle$fNFDataListNumberDelim$fNFDataQuoteType$fNFDataCitationMode$fNFDataFormat$fNFDataMathType$fNFDataInline$fNFDataCaption$fNFDataTableFoot$fNFDataTableBody$fNFDataTableHead $fNFDataRow $fNFDataCell$fNFDataColSpan$fNFDataRowSpan$fNFDataAlignment$fNFDataCitation $fNFDataMeta$fNFDataMetaValue$fToJSONPandoc$fFromJSONPandoc $fToJSONMeta$fFromJSONMeta$fFromJSONBlock $fToJSONBlock$fFromJSONInline$fToJSONInline$fFromJSONCell $fToJSONCell$fFromJSONTableFoot$fToJSONTableFoot$fFromJSONTableBody$fToJSONTableBody$fFromJSONTableHead$fToJSONTableHead$fFromJSONCaption$fToJSONCaption $fFromJSONRow $fToJSONRow$fFromJSONColWidth$fToJSONColWidth$fFromJSONAlignment$fToJSONAlignment$fFromJSONListNumberDelim$fToJSONListNumberDelim$fFromJSONListNumberStyle$fToJSONListNumberStyle$fFromJSONMathType$fToJSONMathType$fFromJSONQuoteType$fToJSONQuoteType$fFromJSONCitation$fToJSONCitation$fFromJSONCitationMode$fToJSONCitationMode$fFromJSONMetaValue$fToJSONMetaValueHasMetasetMeta deleteMeta ToMetaValue toMetaValueBlocksInlinesManyunManytoList singletonfromListisNull trimInlinesdocsetTitle setAuthorssetDatetextstremph underlinestrong strikeout superscript subscript smallcaps singleQuoted doubleQuotedcitecodeWithcodespace softbreak linebreakmath displayMath rawInlinelinklinkWithimage imageWithnotespanWithparaplain lineBlock codeBlockWith codeBlockrawBlock blockQuoteorderedListWith orderedList bulletListdefinitionListheader headerWithhorizontalRulecellWithcell simpleCell emptyCelltable tableWith simpleTablefigure figureWithcaption simpleCaption emptyCaptionsimpleFigureWith simpleFiguredivWithnormalizeTableHeadnormalizeTableBodynormalizeTableFootplaceRowSectionclipRows$fIsStringMany $fMonoidMany$fSemigroupMany$fToMetaValueMap$fToMetaValueMap0$fToMetaValue[]$fToMetaValue[]0$fToMetaValueText$fToMetaValueBool$fToMetaValueMany$fToMetaValueMany0$fToMetaValueMetaValue$fHasMetaPandoc $fHasMetaMeta $fDataMany $fOrdMany$fEqMany$fFoldableMany$fTraversableMany $fFunctorMany $fShowMany $fReadMany $fMonoidMany0$fSemigroupMany0 $fGenericMany$fArbitraryListNumberDelim$fArbitraryListNumberStyle$fArbitraryAlignment$fArbitraryMeta$fArbitraryQuoteType$fArbitraryMathType$fArbitraryCaption$fArbitraryCell$fArbitraryTableFoot$fArbitraryTableBody$fArbitraryTableHead$fArbitraryRow$fArbitraryCitation$fArbitraryCitationMode$fArbitraryPandoc$fArbitraryBlock$fArbitraryInline$fArbitraryMany$fArbitraryMany0bottomUptopDown bottomUpM queryWithWalkablewalkwalkMquery walkInlineM queryInline walkBlockM queryBlockwalkMetaValueMwalkMetaValueM'queryMetaValuequeryMetaValue' walkCitationM queryCitationwalkRowMqueryRowwalkTableHeadMqueryTableHeadwalkTableBodyMqueryTableBodywalkTableFootMqueryTableFoot walkCellM queryCell walkCaptionM queryCaption walkPandocM queryPandoc$fWalkable[]Citation$fWalkableBlockCitation$fWalkable[]Citation0$fWalkableInlineCitation$fWalkable[]Cell$fWalkableBlockCell$fWalkable[]Cell0$fWalkableInlineCell$fWalkable[]Caption$fWalkableBlockCaption$fWalkable[]Caption0$fWalkableInlineCaption$fWalkable[]TableFoot$fWalkableBlockTableFoot$fWalkable[]TableFoot0$fWalkableInlineTableFoot$fWalkable[]TableBody$fWalkableBlockTableBody$fWalkable[]TableBody0$fWalkableInlineTableBody$fWalkable[]TableHead$fWalkableBlockTableHead$fWalkable[]TableHead0$fWalkableInlineTableHead$fWalkable[]Row$fWalkableBlockRow$fWalkable[]Row0$fWalkableInlineRow$fWalkable[]MetaValue$fWalkableBlockMetaValue$fWalkable[]MetaValue0$fWalkableInlineMetaValue$fWalkableMetaValueMetaValue$fWalkableMetaValueMeta$fWalkable[]Meta$fWalkableBlockMeta$fWalkable[]Meta0$fWalkableInlineMeta$fWalkableMetaMeta$fWalkablePandocPandoc$fWalkableMetaValuePandoc$fWalkableMetaPandoc$fWalkable[]Pandoc$fWalkableInlinePandoc$fWalkable[]Pandoc0$fWalkableBlockPandoc$fWalkable[]Inline$fWalkableBlockInline$fWalkable[][]$fWalkable[]Block$fWalkableBlockBlock$fWalkable[]Block0$fWalkableInlineBlock$fWalkable[]Inline0$fWalkable[][]0$fWalkableInlineInline$fWalkablea(,) $fWalkableat ToJSONFilter toJSONFilter$fToJSONFiltermFUN$fToJSONFiltermFUN0$fToJSONFiltermFUN1$fToJSONFiltermFUN2$fToJSONFiltermFUN3$fToJSONFiltermFUN4versiongetDataFileName getBinDir getLibDir getDynLibDir getDataDir getLibexecDir getSysconfDir text-1.2.5.0Data.Text.InternalTextnormalizeHeaderSectionnormalizeBodySectionmappend