h$s*      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ Safe-Inferred(c) Simon Marlow 2003-2006, David Waern 2006-2009, Mateusz Kowalczyk 2013BSD-likehaddock@projects.haskellorg experimentalportable Safe-Inferred567 hhaddock-library is a set of instructions for marking up documentation. In fact, it's really just a mapping from Doc to some other type [a], where [a] is usually the type of the output (HTML, say). Use  to apply a  to a .haddock-library.The namespace qualification for an identifier.$haddock-library1A qualified identifier that couldn't be resolved.%haddock-library+A link to a module, with an optional label.&haddock-library6This constructor has no counterpart in Haddock markup.2haddock-library0A (HTML) anchor. It must not contain any spaces.Ihaddock-librarybetween 1 and 6 inclusive]haddock-libraryWith the advent of X, we may want to start attaching more meta-data to comments. We make a structure for this ahead of time so we don't have to gut half the core each time we want to add such info.chaddock-libraryRender the a namespace into the same format it was initially parsed.dhaddock-libraryNOTE: Only defined for base >= 4.10.0ehaddock-libraryNOTE: Only defined for base >= 4.10.0fhaddock-libraryNOTE: Only defined for  base >= 4.8.0ghaddock-libraryNOTE: Only defined for base >= 4.10.0hhaddock-libraryNOTE: Only defined for base >= 4.10.0ihaddock-libraryNOTE: Only defined for  base >= 4.8.0 6543210/.-,+*)('&%$#"! 78:9;<=>?BA@CDFEGHJIKLNMOPRQSTVUWXYZ\[]^`_abc]^`_YZ\[abXWSTVUOPRQKLNMGHJICDFE>?BA@;<=78:96543210/.-,+*)('&%$#"! c (c) Alec Theriault 2018-2019,BSD-likehaddock@projects.haskell.org experimentalportable Safe-Inferred >? haddock-libraryThe only bit of information we really care about trudging along with us through parsing is the version attached to a @since- annotation - if the doc even contained one.haddock-libraryAlways succeeds, but returns 1 if at the end of input. Does not consume input.Equivalent to 6Parsec.optionMaybe . Parsec.lookAhead $ Parsec.anyChar, but more efficient.haddock-library5Fails if at the end of input. Does not consume input.Equivalent to Parsec.lookAhead Parsec.anyChar, but more efficient.haddock-library3Parses the given string. Returns the parsed string.Equivalent to Parsec.string (T.unpack t) $> t, but more efficient.haddock-libraryKeep matching characters as long as the predicate function holds (and return them).Equivalent to fmap T.pack . Parsec.many, but more efficient.haddock-libraryLike %, but fails if no characters matched.Equivalent to fmap T.pack . Parsec.many1, but more efficient.haddock-libraryScan the input text, accumulating characters as long as the scanning function returns true.haddock-libraryParse a decimal number.haddock-libraryParse a hexadecimal number.haddock-library scan functionhaddock-library initial state(c) Mateusz Kowalczyk 2013-2014, Simon Hengel 2013BSD-likehaddock@projects.haskell.org experimentalportable Safe-Inferred Ohaddock-library(Skip and ignore leading horizontal spacehaddock-libraryTake leading horizontal spacehaddock-library!Remove escapes from given string.Only do this if you do not process (read: parse) the input any further.haddock-libraryConsume characters from the input up to and including the given pattern. Return everything consumed except for the end pattern itself. (c) Alec Theriault 2019,BSD-likehaddock@projects.haskell.org experimentalportable Safe-InferredAhaddock-libraryIdentifier string surrounded with namespace, opening, and closing quotes/backticks. Safe-InferredNhaddock-libraryThe identity markuphaddock-libraryMap a  into a best estimate of an alternate string. The idea is to strip away any formatting while preserving as much of the actual text as possible. Safe-Inferred haddock-library Concat using .haddock-libraryLike  but also joins the ] info.haddock-libraryWe do something perhaps unexpected here and join the meta info in @reverse@: this results in the metadata from the @latest@ paragraphs taking precedence.haddock-library'This is not a monoidal append, it uses  for the _ and `.(c) Mateusz Kowalczyk 2013-2014, Simon Hengel 2013BSD-likehaddock@projects.haskell.org experimentalportable Safe-Inferred &haddock-libraryDrops the quotes/backticks around all identifiers, as if they were valid but still s.haddock-library Maps over #s over  with potentially failing conversion using user-supplied function. If the conversion fails, the identifier is deemed to not be valid and is treated as a regular string.haddock-libraryMain entry point to the parser. Appends the newline character to the input string.haddock-library Variant of  for  instead of haddock-libraryString to parse     !"#$%&'()*+,-./0123456789:;<=>?@AABCDDEFFGHIJJKLMMNOPPQRSSTUVVWXYZ[[\]^^_`abcdefghijklmnopqrstuvwxyz{|}~   -haddock-library-1.11.0-59ehBvoiNcR94g7DQ5CZKwDocumentation.Haddock.TypesDocumentation.Haddock.ParserDocumentation.Haddock.MarkupDocumentation.Haddock.Doc CompatPreludemarkup"Documentation.Haddock.Parser.Monad!Documentation.Haddock.Parser.Util'Documentation.Haddock.Parser.Identifier DocMarkupHMarkup markupEmpty markupStringmarkupParagraph markupAppendmarkupIdentifiermarkupIdentifierUnchecked markupModule markupWarningmarkupEmphasis markupBoldmarkupMonospacedmarkupUnorderedListmarkupOrderedList markupDefListmarkupCodeBlockmarkupHyperlink markupAName markupPicmarkupMathInlinemarkupMathDisplaymarkupProperty markupExample markupHeader markupTable NamespaceValueTypeNoneDocHDocEmpty DocAppend DocString DocParagraph DocIdentifierDocIdentifierUnchecked DocModule DocWarning DocEmphasis DocMonospacedDocBoldDocUnorderedListDocOrderedList DocDefList DocCodeBlock DocHyperlinkDocPic DocMathInlineDocMathDisplayDocAName DocProperty DocExamples DocHeaderDocTableTabletableHeaderRows tableBodyRowsTableRow tableRowCells TableCelltableCellColspantableCellRowspantableCellContentsExampleexampleExpression exampleResultHeader headerLevel headerTitlePicture pictureUri pictureTitleModLink modLinkName modLinkLabel Hyperlink hyperlinkUrlhyperlinkLabelPackageVersionMetaDoc_meta_docMeta_version_packageoverDocoverDocFrenderNs$fBitraversableDocH$fBifoldableDocH$fBifunctorDocH$fBitraversableMetaDoc$fBifoldableMetaDoc$fBifunctorMetaDoc $fEqNamespace$fOrdNamespace$fEnumNamespace$fShowNamespace $fEqMetaDoc $fShowMetaDoc$fFunctorMetaDoc$fFoldableMetaDoc$fTraversableMetaDoc$fEqDocH $fShowDocH $fFunctorDocH$fFoldableDocH$fTraversableDocH $fEqTable $fShowTable$fFunctorTable$fFoldableTable$fTraversableTable $fEqTableRow$fShowTableRow$fFunctorTableRow$fFoldableTableRow$fTraversableTableRow $fEqTableCell$fShowTableCell$fFunctorTableCell$fFoldableTableCell$fTraversableTableCell $fEqExample $fShowExample $fEqHeader $fShowHeader$fFunctorHeader$fFoldableHeader$fTraversableHeader $fEqPicture $fShowPicture $fEqModLink $fShowModLink$fFunctorModLink$fFoldableModLink$fTraversableModLink $fEqHyperlink$fShowHyperlink$fFunctorHyperlink$fFoldableHyperlink$fTraversableHyperlink$fEqMeta $fShowMeta IdentifieridMarkup plainMarkup docConcat metaConcat metaDocConcat metaDocAppend metaAppend emptyMetaDoc docAppend docParagraph toRegularoverIdentifier parseParas parseString$fShowTCbase Text.Read.Lex isSymbolChar Data.Functor$> ParserStatepeekChar GHC.MaybeNothing peekChar'string takeWhile takeWhile1scandecimal hexadecimalParserparserStateSinceinitialParserStatesetSince parseOnlyskipHorizontalSpacetakeHorizontalSpace removeEscapes takeUntil makeLabeled parseValidGHC.Base<|>String parseText text-1.2.3.2Data.Text.InternalText