ti.      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnop q r s t u v w x y z { | } ~   Safe-Inferred Safe-Inferred-Classification of tokens as lexical entities @Lex Haskell source code into an annotated token stream, without ( discarding any characters or layout.      Safe-Inferred8 places an anchor marker in the token stream before the 7 first defining occurrence of any identifier. Here, before means F immediately preceding its type signature, or preceding a (haddock) H comment that comes immediately before the type signature, or failing / either of those, before the first equation.  Safe-InferredGTypes of highlighting supported by ANSI codes (and some extra styles). !Colours supported by ANSI codes. ))Convert an integer in the range [0,2^24-1]e to its base 256-triplet, passing the result to the given continuation (avoid unnecessary tupleism). *QConvert a three-digit numeral in the given (as arg 1) base to its integer value. +fApproximate a 24-bit Rgb colour with a colour in the xterm256 6x6x6 colour cube, returning its index. ,Ap"proxi"kmate a 24-bit Rgb colour with an ANSI8 colour. Will leave other colours unchanged and will never return an   constructor value. -Lift , to s  !"#$%&'()*+,- !"#$%&'()*+,-('&%$#"! )*+,-  ('&%$#"! )*+,- Safe-Inferred .The supported output formats. /mIRC chat clients 0HTML with inline CSS. 1$HTML with CSS and mouseover types. 2HTML with CSS. 3HTML with font tags 4 TeX macros 5#Terminal codes appropriate for the 7. 6#ANSI terminal codes. Equivalent to 5 9+ but left in for backwards compatibility. 89 , and also \ 033[Y8;5;Zm]-style escape sequences (with Y =~ [3,4] and Z an integer in [0,255]( with the XTerm colour cube semantics). 9\033[Xm-style escape sequences (with X =~ [34][0-7]) ./0123456789 ./0123456789 798.6543210/.6543210/798 Safe-Inferred:.Move the screen cursor to the given position. DClear the screen. G= I 9 H= H 9 I?Make the given string appear with all of the listed highlights LAn infinite supply of colours. M Scrolling :;<=>?@ABCDEFGHIJKLMNOP/ !"#$%&'(789:;<=>?@ABCDEFGHIJKLMNOP/JHKIG?@ABCD:;<>=EF('&%$#"! LMONP798:;<=>?@ABCDEFGHIJKLMNOP Safe-Inferred QCommand-line options Rannotations file Soutput source file Tinput source file U.whether to produce a full document or partial Vwhether to add anchors W2literate input (i.e. multiple embedded fragments) Xwhat type of output to produce Y0report auxiliary information, e.g. CSS defaults Zreport version [print usage message QRSTUVWXYZ[./0123456789QRSTUVWXYZ[Q[ZYXWVUTSR.6543210/798Q [ZYXWVUTSR Safe-Inferred\Colour preferences. nWRead colour preferences from .hscolour file in the current directory, or failing that,  from $HOME/=.hscolour, and failing that, returns a default set of prefs. o3Convert token classification to colour highlights. \]^_`abcdefghijklmno. !"#$%&'()*+,-\]^_`abcdefghijklmno\]^_`abcdefghijklnmo\]^_`abcdefghijklmno  Safe-Inferredp= q 9 q2Highlights Haskell code with ANSI terminal codes. pColour preferences. Haskell source code. Coloured Haskell source code. qpqpqpq  Safe-Inferredr7Formats Haskell source code using HTML with font tags. rColour preferences. Whether to include anchors. Haskell source code. Coloured Haskell source code. stuvwrstuvwrstuvw rstuvw  Safe-InferredxBFormats Haskell source code as a complete HTML document with CSS. xWhether to include anchors. Haskell source code. *An HTML document containing the coloured  Haskell source code. yz{xyz{xy{zxyz{ NoneCFormats Haskell source code using HTML and mouse-over annotations CFormats Haskell source code using HTML and mouse-over annotations |}~Whether to include anchors. 4Haskell source code, Annotations as comments at end Coloured Haskell source code. Whether to include anchors. Haskell Source, Annotations Coloured Haskell source code. |}~~|}|}~  Safe-InferredLFormats Haskell source code as a complete HTML document with inline styling Preferences for styling. Whether to include anchors. Haskell source code. *An HTML document containing the coloured  Haskell source code.   Safe-Inferred:Formats Haskell source code as a complete LaTeX document. 1Wrap each lexeme in the appropriate LaTeX macro. * TODO: filter dangerous characters like {}_$ Filter white space characters. Filters the characters  #$%&~_^{} which are special  in LaTeX. <Constructs the appropriate LaTeX macro for the given style.  Translate a  into a LaTeX colour name. !Generic LaTeX document preamble. "Generic LaTeX document postamble. Colour preferences. Haskell source code. A LaTeX document/"fragment containing the coloured  Haskell source code. The string to filter. The LaTeX-safe string.   Safe-Inferred.Formats Haskell source code using mIRC codes. Colour preferences. Haskell source code. Coloured Haskell source code. None#Separating literate files into code/comment chunks. <Colourise Haskell source code with the given output format. GThe actual colourising worker, despatched on the chosen output format. Choose the right headers/)footers, depending on the output format. JThe code for classify is largely stolen from Language.Preprocessor.Unlit. Join up chunks of code/%comment that are next to each other. Output format. 4Colour preferences (for formats that support them). Whether to include anchors. 0Whether output document is partial or complete. Title for output. 2Whether input document is literate haskell or not Haskell source code. Coloured Haskell source code. Output format. 3Colour preferences (for formats that support them) Whether to include anchors. Haskell source code. Coloured Haskell source code. Output format Title for output Output transformer ./0123456\]^_`abcdefghijkl.6543210/\]^_`abcdefghijkl !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abc?defghijkllmnopqrstuvwxyz{|}~           hscolour-1.20.3!Language.Haskell.HsColour.General"Language.Haskell.HsColour.Classify!Language.Haskell.HsColour.Anchors)Language.Haskell.HsColour.ColourHighlight Language.Haskell.HsColour.OutputLanguage.Haskell.HsColour.ANSI!Language.Haskell.HsColour.Options#Language.Haskell.HsColour.ColouriseLanguage.Haskell.HsColour.TTYLanguage.Haskell.HsColour.HTMLLanguage.Haskell.HsColour.CSSLanguage.Haskell.HsColour.ACSS#Language.Haskell.HsColour.InlineCSSLanguage.Haskell.HsColour.LaTeXLanguage.Haskell.HsColour.MIRCLanguage.Haskell.HsColourdropLast dropFirst TokenType DefinitionErrorCppNumberCharStringVaropConopVaridConidCommentLayoutKeyglyphKeywordSpacetokenise insertAnchors HighlightItalic Background Foreground Concealed ReverseVideoBlink UnderscoreDimBoldNormalColourRgbWhiteCyanMagentaBlueYellowGreenRedBlackbase256unbasergb24bit_to_xterm256projectToBasicColour8hlProjectToBasicColour8OutputMIRCICSSACSSCSSHTMLLaTeXTTYgTTY TerminalTypeXTerm256Compatible Ansi16ColourgotocursorUp cursorDown cursorRight cursorLeftcleareolclearbol clearline clearDownclearUpcls savePositionrestorePosition highlight highlightOn highlightG highlightOnG highlightOff colourCycleenableScrollRegion scrollDownscrollUplineWrapOptionAnnotInputPartialAnchorsLHSFormat InformationVersionHelp ColourPrefskeywordkeyglyphlayoutcommentconidvaridconopvaropstringcharnumbercpp selectionvariantselection definitiondefaultColourPrefsreadColourPrefs colourisehscolour hscolourG top'n'tail renderAnchors renderCommentrenderNewLinesAnchorsescapepre renderTokenLocLAnnMapAnnhsannot srcModuleNamebreakSmarkDefscontinuechunk isLinearSpaceglue nestcomment eolcommentclassify isTupleTailkeywords keyglyphs layoutcharssymbolsSTAnchoranchoremit identifiertypesig munchParensfixskipgetConidcontext getInstanceemptySTinsertSTinST $fEnumColourPosathome renderAttrG$fEnumHighlightparseColourPrefs renderTokenGfontifyfont htmlHeader htmlClosecssClass cssPrefix cssSuffix annotTokenise tokenSpansplusLocrenderAnnotTokeninsertAnnotAnchorsstitchsplitSrcAndAnns tokenModule annotParse parseLines takeFileName $fShowAnnMapstylisestyle csscolour filterSpace filterSpeciallatexHighlight latexColour latexPrefix latexSuffix MircColourMircfgdimbgblink joinColours mircColourscodeLit hscolour'joinLCodeunLinlines