!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ 8Edward Kmett 2011-2015 Johan Tibell 2011BSD3ekmett@gmail.com experimentalunknownNone;HM Smart constructorSmart constructorCreate a new mutable array of specified size, in the specified state thread, with each element containing the specified initial value.EUnsafely copy the elements of an array. Array bounds are not checked.EUnsafely copy the elements of an array. Array bounds are not checked.O(n)T Insert an element at the given position in this array, increasing its size by one.O(n)8 Update the element at the given position in this array.O(n)T Delete an element at the given position in this array, decreasing its size by one.Strict version of .'   #  (C) 2011-2014 Edward Kmett BSD-style (see the file LICENSE)Edward Kmett <ekmett@gmail.com> experimental non-portable Safe-InferredA(c) Edward Kmett 2011-2014 (c) Ross Paterson 2008 BSD-styleekmett@gmail.com experimental<non-portable (MPTCs, type families, functional dependencies)None246=K 8Map of closed intervals, possibly with duplicates. The  and ; instances process the intervals in lexicographical order.#VA closed interval. The lower bound should be less than or equal to the higher bound.'O(n)). Add a delta to each interval in the map(O(1)$. Interval map with a single entry.)O(log n). Insert an interval into a map. The map may contain duplicate intervals; the new entry will be inserted before any existing entries for the same interval.* O(k log (n/k))L. All intervals that contain the given interval, in lexicographical order.+ O(k log (n/k))I. All intervals that contain the given point, in lexicographical order., O(k log (n/k))S. All intervals that intersect with the given interval, in lexicographical order. O(m log (n/m)). Merge two interval maps. The map may contain duplicate intervals; entries with equal intervals are kept in the original order./ !"#$%&'()*+,- !"#$%&'()*+,-#$%&()+,*' "!-' "!#$%&'()*+,- (c) Edward Kmett 2013-2014BSD3ekmett@gmail.com experimental non-portable Safe-Inferred(C) 2011-2015 Edward Kmett BSD-style (see the file LICENSE)Edward Kmett <ekmett@gmail.com> experimental non-portable Safe-Inferred+07@Retrieve the character offset within the current line from this 0.8;Retrieve the byte offset within the current line from this 0.9.Increment a column number to the next tabstop.: Rewind a 0 to the beginning of the line.;!Should we show two things with a 0 on the same line?./0123456789:; ./0123456789:;04321./569:;78./0432156789:; (C) 2011-2014 Edward Kmett BSD-style (see the file LICENSE)Edward Kmett <ekmett@gmail.com> experimental non-portable Safe-Inferred +0246=KDCgrab a the contents of a rope from a given location up to a newlineECgrab a the contents of a rope from a given location up to a newline<=>?@ABCDE     <=>?@ABCDE <=B>@?ACDE<=>@?ABCDE    (C) 2011-2014 Edward Kmett BSD-style (see the file LICENSE)Edward Kmett <ekmett@gmail.com> experimental non-portable Safe-Inferred 6;=KMEGiven a position, go there, and grab the text forward from that pointN:Return the text of the line that contains a given positionIt is a cofree comonadFGHIJKLMNO FGHIJKLMNO FHGJKILMNOFHGIJKLMNO(C) 2011-2014 Edward Kmett BSD-style (see the file LICENSE)Edward Kmett <ekmett@gmail.com> experimental non-portableNonePA P is a < with an associated  full of highlighted regions.R Convert a  into a coloration on a .S;Represents a source file like an HsColour rendered document^-Generate an HTML document from a title and a P.!PQ !RST"#$%&UVWX'()*+,-./YZ[\]^01PQRSTUVWXYZ[\]^PQUVWXRSTYZ[\]^PQ !RST"#$%&UVWX'()*+,-./YZ[\]^01&(C) 2011-2014 Edward Kmett BSD-style (see the file LICENSE)Edward Kmett <ekmett@gmail.com> experimental non-portableNone+0246q In file included from baz.c:9 In file included from bar.c:4 foo.c:8:36: note int main(int argc, char ** argv) { int; } ^create a drawing surface Pint main(int argc, char ** argv) { int; } ^~~s_`23456a789:bcdefghijklmnopqrstuvwxyz{|}~;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopq3_`abcdefghijklmnopqrstuvwxyz{|}~3_`yz{|}~uvwxstqropmnklijghcdefabX_`23456a789:bcdefghijklmnopqrstuvwxyz{|}~;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopq(c) Edward Kmett 2011-2014BSD3ekmett@gmail.com experimental non-portableNone23468This class is a refinement of f that adds the ability to mark your position in the input and return there for further parsing later.Xmark the current location so it can be used in constructing a span, or for later seeking!Seek a previously marked location0This class provides parsers with easy access to:<1) the current line contents. 2) the current position as a 0. 3) the ability to use  on any parser.JRetrieve the contents of the current line (from the beginning of the line)#Retrieve the current position as a 0.GRun a parser, grabbing all of the text between its start and end points Retrieve a _? of the current linem noting this position, but not placing a q there.&Grab the remainder of the current linejRun a parser, grabbing all of the text between its start and end points and discarding the original resultGrab a q" pointing to the current location.Parse a m result. Pointing the q to where you start.+Discard the result of a parse, returning a k/ from where we start to where it ended parsing.Parse a g result. The k2 starts here and runs to the last position parsed. Grab a fixit.rstuvwxyz{|}~rstuvwxyz{|}~ (c) Edward Kmett 2011-2014BSD3ekmett@gmail.com experimental non-portableNone -./23468HMThis is used to report an error. What went wrong, some supplemental docs and a set of things expected at the current location. This does not, however, include the actual location.A # that lets you embed or retrieve a  in a potentially larger type.CThe result of parsing. Either we succeeded or something went wrong.Generate a simple $ word-wrapping the supplied message.Convert a location and an  into a The  for the  constructor of The  for the  constructor of  (c) Edward Kmett 2011-2014BSD3ekmett@gmail.com experimental non-portableNone -./23468HMparseFromFile p filePath runs a parser p on the input read from filePath using  m. All diagnostic messages emitted over the course of the parse attempt are shown to the user on the console. main = do result <- parseFromFile numbers "digits.txt" case result of Nothing -> return () Just a -> print $ sum aparseFromFileEx p filePath runs a parser p on the input read from filePath using  s. Returns all diagnostic messages emitted over the course of the parse and the answer if the parse was successful. main = do result <- parseFromFileEx (many number) "digits.txt" case result of Failure xs -> displayLn xs Success a -> print (sum a) parseByteString p delta i runs a parser p on i.((C) 2011-2014 Edward Kmett, BSD-style (see the file LICENSE)Edward Kmett <ekmett@gmail.com> experimental non-portableNone     <=>?@ABCDEPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ !"#$%&'()*+,-.//011233456%789:;<=>?@ABCDEFGHIIJKJLMNOPQQRSTUVWXYZZ[\\]^_`abcdefgg?hiijklmnoppqrstuuvwxyz{|}~               :        !"#$%&'w()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                                  trifecta-1.5.2Text.Trifecta.HighlightText.Trifecta.Util.ArrayText.Trifecta.Util.IntervalMapText.Trifecta.DeltaText.Trifecta.RopeText.Trifecta.Util.ItText.Trifecta.RenderingText.Trifecta.CombinatorsText.Trifecta.ResultText.Trifecta.ParserText.Trifecta.Util.CombinatorsText.Trifecta.Instances ByteStringreadFile Text.Trifectaparsers-0.12.3Text.Parser.Token.Highlight HighlightMArrayArraylengthlengthMnewnew_empty singletonreadwriteindexindex_indexM_ unsafeFreezerunrun2copycopyMinsertupdatefoldl'foldrthawdeletemapmap'traversefilter IntervalMaprunIntervalMap IntInterval NoIntervalIntervallowhighoffset dominatorssearch intersectionsfromListHasDeltadeltaDeltaDirectedLinesTabColumnsHasBytesbytescolumn columnBytenextTabrewindnearRopeStrandSkippingstrandropestrandsgrabRestgrabLineItPure simplifyItneedItwantItrunItfillItrewindItsliceItHighlightedRope withHighlight HighlightDocHasHighlightedRopehighlightedRope ropeContentropeHighlightsHasHighlightDoc highlightDoc docContentdocCssdocTitledoc RenderingdrawFixit _fixitSpan_fixitReplacementSpanned:~HasSpanspanSpanCareted:^HasCaretcaretCaretRendered:@Sourcesource Renderablerender HasRendering renderingrenderingDelta renderingLinerenderingLineBytesrenderingLineLenrenderingOverlays nullRenderingemptyRenderingifNearrendered.# caretEffects drawCaretaddCaretrenderingCaret spanEffectsdrawSpanaddSpan drawFixitaddFixitHasFixitfixitfixitReplacement fixitSpan MarkParsingmarkrelease DeltaParsinglineposition slicedWithrend restOfLineslicedcaretingcaretedspanningspannedfixitingErr_reason _footnotes _expectedAsResult_ResultResultFailureSuccessErrableraiseErrHasErrerrexpected footnotesreasonfailedexplain_Success_FailureStepStepContStepFailStepDoneParserunparser manyAccumfeedstarve stepResultstepIt stepParser parseFromFileparseFromFileExparseByteString parseString parseTestarraymarrayunMArrayunArrayrnfArray undefinedElemtoList $fNFDataArrayargminargmaxfromLazytoLazytakeLine<$!>base Data.FoldableFoldableData.Traversable Traversable$fHasUnionIntervalMapNode largerErroratleastgreater$fMonoidIntervalMap$fHasUnion0IntervalMap $fMeasuredIntIntervalIntervalMap)$fTraversableWithIndexIntervalIntervalMap$fTraversableIntervalMap&$fFoldableWithIndexIntervalIntervalMap$fFoldableIntervalMap%$fFunctorWithIndexIntervalIntervalMap$fFunctorIntervalMap$fMeasuredIntIntervalNode$fMonoidIntInterval"$fTraversableWithIndexIntervalNode$fTraversableNode$fFoldableWithIndexIntervalNode$fFoldableNode$fFunctorWithIndexIntervalNode $fFunctorNode$fTraversableInterval$fFoldableInterval$fFunctorInterval $fOrdInterval $fEqInterval$fReducervInterval$fSemigroupInterval$fSemigroupDocint64$fHasDeltaFingerTree$fHasDeltaByteString$fHasDeltaWord8$fHasDeltaChar$fHasDeltaDelta$fSemigroupDelta $fMonoidDelta$fHashableDelta$fHasBytesDelta $fPrettyDelta$fHasDeltaEither $fOrdDelta $fEqDelta$fHasBytesFingerTree$fHasBytesByteString$fReducer[]Rope$fReducerByteStringRope$fReducerStrandRope$fReducerRopeRope$fSemigroupRope $fMonoidRope$fMeasuredDeltaRope$fHasDeltaRope$fHasBytesRope$fHasBytesStrand$fHasDeltaStrand$fHashableStrand$fMeasuredDeltaStrand $fComonadItindexIt$fComonadApplyIt $fMonadIt$fApplicativeIt$fProfunctorIt $fFunctorIt$fShowItansi-wl-pprint-0.6.7.3Text.PrettyPrint.ANSI.LeijenDoc_ropeHighlights _ropeContent _docTitle_docCss _docContentLocated$fPrettyHighlightedRope$fToMarkupHighlightedRope $fOrdLocated $fEqLocated$fMonoidHighlightedRope$fSemigroupHighlightedRope$fHasBytesHighlightedRope$fHasDeltaHighlightedRope#$fHasHighlightedRopeHighlightedRope$fToMarkupHighlightDoc$fHasHighlightDocHighlightDoc_renderingDelta_renderingLineLen_renderingLineBytes_renderingLine_renderingOverlaysoutOfRangeEffectssgr///growwindow$fHashableSpanned$fRenderableSpanned$fReducerSpannedRendering$fTraversableSpanned$fFoldableSpanned$fComonadApplySpanned$fComonadSpanned$fFunctorSpanned$fHasSpanSpanned$fHashableSpan$fReducerSpanRendering$fSemigroupSpan$fRenderableSpan $fHasSpanSpan$fHashableCareted$fReducerCaretedRendering$fRenderableCareted$fTraversableCareted$fFoldableCareted$fComonadApplyCareted$fComonadCareted$fHasBytesCareted$fHasDeltaCareted$fFunctorCareted$fHasCaretCareted$fSemigroupCaret$fReducerCaretRendering$fRenderableCaret$fHasDeltaCaret$fHasBytesCaret$fHashableCaret$fHasCaretCaret$fRenderableRendered$fTraversableRendered$fFoldableRendered$fComonadApplyRendered$fComonadRendered$fHasBytesRendered$fHasDeltaRendered$fFunctorRendered$fPrettyRendering$fSourceByteString $fSource[]$fRenderableRendering$fHasDeltaRendering$fMonoidRendering$fSemigroupRendering$fShowRendering$fHasRenderingRendering$fRenderableFixit$fReducerFixitRendering$fHashableFixit$fHasSpanFixit$fHasFixitFixit$fMarkParsingdIdentityT$fMarkParsingdRWST$fMarkParsingdRWST0$fMarkParsingdWriterT$fMarkParsingdWriterT0$fMarkParsingdReaderT$fMarkParsingdStateT$fMarkParsingdStateT0$fDeltaParsingIdentityT$fDeltaParsingRWST$fDeltaParsingRWST0$fDeltaParsingWriterT$fDeltaParsingWriterT0$fDeltaParsingReaderT$fDeltaParsingStateT$fDeltaParsingStateT0 lens-4.13Control.Lens.TypePrism$fAlternativeResult$fApplicativeResult$fPrettyResult$fAsResultResultResultab $fMonoidErr$fSemigroupErr $fHasErrErrSteppingCECOEEEOliftIt $fFunctorStep $fShowStep$fMarkParsingDeltaParser$fDeltaParsingParser$fTokenParsingParser$fCharParsingParser$fLookAheadParsingParser$fErrableParser$fParsingParser$fMonadPlusParser $fMonadParser$fMonoidParser$fSemigroupParser$fAlternativeParser$fApplicativeParser$fFunctorParserControl.ApplicativeoptionalmanysomeText.Parser.Tokenoctal hexadecimaldecimalinteger' characterCharident reserveTextreserveliftIdentifierStylestyleHighlightsstyleReservedHighlightstyleHighlight styleReserved styleChars styleLetter styleStart styleName commaSep1commaSepsemiSep1semiSepdotcoloncommabracketsanglesbracesparenssymbolic textSymbolsymbolintegerOrScientificnaturalOrScientific scientificintegerOrDoublenaturalOrDoubledoubleintegernaturalstringLiteral' stringLiteral charLiteral whiteSpacetoken highlightseminesting someSpace TokenParsing_styleReservedHighlight_styleHighlight_styleReserved _styleLetter _styleStart _styleNameIdentifierStylerunUnhighlighted Unhighlighted runUnspacedUnspaced runUnlinedUnlinedText.Parser.Char satisfyRangeoctDigithexDigitdigitletteralphaNumloweruppertabnewlinespacespaces noneOfSetoneOfSetnoneOfoneOftextstringanyCharnotCharcharsatisfy CharParsingText.Parser.CombinatorsmanyTillchainr1chainl1chainlchainrcountendByendBy1sepEndBy sepEndBy1sepBy1sepBybetween skipOptionaloptionchoice notFollowedByeof unexpectedskipSomeskipManytryParsing