x>      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~None!"+BHM Comment with some more info.The normal comment type.,Where the comment lies relative to the node.Comment relative locations.%Information for each node in the AST. Location info from the parser. )Comments which are attached to this node. zConfigurations shared among the different styles. Styles may pay attention to or completely disregard this configuration. )Maximum columns to fit code into ideally.How many spaces to indent?0Remove spaces on lines that are otherwise empty?A printer style.5Name of the style, used in the commandline interface.>Author of the printer (as opposed to the author of the style).Description of the style.User state, if needed.Extenders to the printer.%Default config to use for this style.yA printer extender. Takes as argument the user state that the printer was run with, and the current node to print. Use  prettyNoExt% to fallback to the built-in printer. The state of the pretty printer.Current indentation level.The current output.Just outputted a newline? Current column.!Current line number." User state.# Extenders.$4Config which styles may or may not pay attention to.%/An end of line comment has just been outputted.&9Whether we're in a case statement, used for Rhs printing.'A pretty printing monad.*Default style configuration.-  !"#$%&'()*+  !"#$%&'()*+'() !"#$%& *      !"#$%&'()*None+ Empty state.-The printer style.+,-+,-+,-+,-None234EM&.Pretty printing class./Pretty print using extenders.0Run the basic printer for the given node without calling an extension hook for this node, but do allow extender hooks in child nodes. Also auto-inserts comments.1Print comments of a node.2Pretty print a comment.3*Pretty print using HSE's own printer. The  class here is HSE's.4=Increase indentation level by n spaces for the given printer.5+Print all the printers separated by spaces.6+Print all the printers separated by commas.7(Print all the printers separated by sep.8-Print all the printers separated by newlines.9HPrint all the printers separated newlines and optionally a line prefix.:KSet the (newline-) indent level to the given column for the given printer.;Get the current indent level.<Get the current line number.=Output a newline.>ASet the context to a case context, where RHS is printed with -> .?/Get the current RHS separator, either = or -> .@HMake the latter's indentation depend upon the end column of the former.AHMake the latter's indentation depend upon the end column of the former.BWrap in parens.CWrap in braces.DWrap in brackets.EWrite a space.FWrite a comma.GWrite an integral.H>Write out a string, updating the current position information.IWrite a string.JIndent spaces, e.g. 2.KColumn limit, e.g. 80LFPlay with a printer and then restore the state to what it was before.M No binds?NMaybe render a class context.#Maybe render an overlap definition.OFSwing the second printer below and indented with respect to the first.0Pretty print a name for being an infix operator.Render an expression.Render a declaration.X./0123456789:;<=>?@ABCDEFGHIJKLMNO"./0123456789:;<=>?@ABCDEFGHIJKLMNO"./0H=EFGIN21>?75896BDC4:;<@AOJKML3W./0123456789:;<=>?@ABCDEFGHIJKLMNONone3P Empty state.RA short function name.SColumn limit: 50TThe printer style.U!Pretty print type signatures likedfoo :: (Show x,Read x) => (Foo -> Bar) -> Maybe Int -> (Char -> X -> Y) -> IO ()V0I want field updates to be dependent or newline.WRight-hand sides are dependent.XRight-hand sides are dependent.YUnguarded case alts.Z6Decide whether to do alts or rhs based on the context.[+I want guarded RHS be dependent or newline.\,I want guarded alts be dependent or newline.^ Expressions_YSandbox and render the nodes on multiple lines, returning whether each is a single line.`Render multi-line nodes.aqSandbox and render the node on a single line, return whether it's on a single line and whether it's overflowing.b.Is the expression "short"? Used for app heads.cIIs the given expression "small"? I.e. does it fit on one line and under S columns.dIs an expression flat?e>Does printing the given thing overflow column limit? (e.g. 80)f>Does printing the given thing overflow column limit? (e.g. 80)g4Is the given expression a single-liner when printed?iGMake the right hand side dependent if it's flat, otherwise newline it.PQRSTUVWXYZ[\]^_`abcdefghiPQRSTUVWXYZ[\]^_`abcdefghiRSPQTUVWXYZ[\]^_`abcdefghiPQRSTUVWXYZ[\]^_`abcdefghiNone3HM k Empty state.mThe printer style.nNumber of spaces to indent by.oPrinter to indent one level.p{How many exports to format in a single line. If an export list has more than this, it will be formatted as multiple lines.rFormat whole modules.s.Format pragmas differently (language pragmas).tFormat patterns.uFormat import statements.vAFormat contexts with spaces and commas between class constraints.wIFormat deriving clauses with spaces and commas between class constraints.x"Format function type declarations.1jklmnopqrstuvwxyz{|}~1jklmnopqrstuvwxyz{|}~1klmnopqjrstuvwxyz{|}~0jklmnopqrstuvwxyz{|}~None3 Empty state.A short function name.The printer style.3Handle do specially and also space out guards more.Handle do specially.$Implement dangling right-hand-sides.Unguarded case alts.Space out tuples.Expression customizations.!Pretty print type signatures likedfoo :: (Show x,Read x) => (Foo -> Bar) -> Maybe Int -> (Char -> X -> Y) -> IO ()=Specially format records. Indent where clauses only 2 spaces.$Use special record display, used by dataDecl in a record scenario.!Fields are preceded with a space.3Record decls are formatted like: Foo { bar :: X }Is the decl a record?>Does printing the given thing overflow column limit? (e.g. 80)4Is the given expression a single-liner when printed?.Is the expression "short"? Used for app heads.Is an expression flat?,rhs on field update on the same line as lhs.NoneEM Format the given source.'Pretty print the given printable thing.AParse mode, includes all extensions, doesn't assume any fixities.,Test with the given style, prints to stdout.'Test with all styles, prints to stdout.KParse the source and annotate it with comments, yielding the resulting AST.2Styles list, useful for programmatically choosing.Annotate the AST with comments.Is the comment after the node?For After9, does the first span end before the second starts? For Before2, does the first span start after the second ends? -TmT-m       !"#$%&'())*+,,-./0123456789:;<=>?@ABCDEFGHIJKLMNO,,PQRSTUVWXYZ[\]^_`abcdefgh,,ijklmnopqrstuvwxyz{|}~,,P[UWV\Sce`bTf.\S hindent-4.2.3 HIndent.TypesHIndent.Styles.FundamentalHIndent.PrettyHIndent.Styles.ChrisDoneHIndent.Styles.GibianskyHIndent.Styles.JohanTibellHIndentComInfocomInfoCommentcomInfoLocationComInfoLocationAfterBeforeNodeInfo nodeInfoSpannodeInfoCommentsConfigconfigMaxColumnsconfigIndentSpacesconfigClearEmptyLinesStyle styleName styleAuthorstyleDescriptionstyleInitialStatestyleExtendersstyleDefConfigExtenderCatchAll PrintState psIndentLevelpsOutput psNewlinepsColumnpsLine psUserState psExtenderspsConfig psEolComment psInsideCasePrinter runPrinter defaultConfigState fundamentalPrettypretty prettyNoExt printComments printCommentpretty'indentedspacedcommasinterlined prefixedLinedcolumn getColumn getLineNumnewlinewithCaseContext rhsSeparatordepend dependBindparensbracesbracketsspacecommaintwritestringgetIndentSpacesgetColumnLimitsandbox nullBindsmaybeCtxswing shortNamesmallColumnLimit chrisDonedecl fieldupdaterhs unguardedrhs unguardedaltcontextualGuardedRhs guardedrhs guardedaltstmtexpsandboxSinglesmultisandboxNonOverflowingisShortisSmallisFlat isOverflow isOverflowMax isSingleLinerinfixAppdependOrNewlineExtend gibiansky indentSpaces indentOncemaxSingleLineExportsattemptSingleLinemodlpragmaspatimpcontext derivingstyp writeTuplesameLine collectTypesexprsletExprappExprdoExprlistExprsingleLineList multiLineList dollarExprapplicativeExpropExpr lambdaExprcaseExprlambdaCaseExprifExpr writeCaseAlts recUpdateExprrhss guardedRhsrhsRestdeclsfunBodywriteWhereBindsonSeparateLines astStartLine isDoBlockcondeclsalt moduleHead exportList lineDelta fieldUpdate johanTibell qualConDeclconDeclrecDeclisRecordreformat prettyPrint parseModetesttestAlltestAststyles$fDefaultConfig$fEqPrintStatehaskell-src-exts-1.16.0.1Language.Haskell.Exts.Pretty maybeOverlap prettyInfixOpprettyInternal$fPrettyExportSpec$fPrettyExportSpecList$fPrettyWarningText$fPrettyImportSpec$fPrettyImportSpecList$fPrettyModuleName$fPrettyImportDecl$fPrettyModulePragma$fPrettyModuleHead$fPrettyTyVarBind $fPrettyQOp $fPrettyQName $fPrettyName$fPrettyLiteral $fPrettyKind$fPrettyFunDep$fPrettyDataOrNew$fPrettyIPBind$fPrettyBracket$fPrettyModule $fPrettySign$fPrettyOverlap$fPrettySpecialCon$fPrettyDeclHead$fPrettyInstHead$fPrettyInstRule$fPrettySplice $fPrettyRhs$fPrettyQualConDecl$fPrettyPatField $fPrettyMatch$fPrettyInstDecl$fPrettyGuardedRhs$fPrettyFieldUpdate$fPrettyFieldDecl$fPrettyConDecl$fPrettyClassDecl $fPrettyBinds$fPrettyBangType $fPrettyAsst $fPrettyAlt$fPrettyDeriving $fPrettyDecl$fPrettyQualStmt $fPrettyStmt $fPrettyExp $fPrettyType $fPrettyPat$fPrettyContextannotateCommentscommentLocatedspanTest