úÎ!Fâ@v      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuSafe.8=?HV ÛPyF<Convert a type to string The default implementation uses vPyFClassify a type to a m This classification will be used to decide which formatting to use when no type specifier in provided.PyF&The three categories of formatting in PyFPyF8Format as an integral, no fractional part, precise valuePyF@Format as a fractional, approximate value with a fractional partPyFFormat as a stringSafe %&'.1:H_¢ PyFAll the FormattersPyF2This formatter formats an integral or a fractionalPyF)This formatter support Upper case versionPyF(This formatter support alternate versionPyFExistential version of !!PyF Alignement"PyF Left padding#PyF Right padding$PyF5Padding will be added between the sign and the number%PyF)Padding will be added around the valueber)PyF Sign handling*PyFDisplay w sign and x sign+PyF Only display w sign,PyFDisplay w& sign and a space for positive numbers.PyFFormat an integral number/PyFFormat a fractional number0PyFFormat a string.PyFPaddingPyFGrouping/PyFPaddingPyFGroupingPyF Precision0PyFPaddingPyF(Precision (will truncate before padding)'    !"#$%&'(),+*-./0'0./   ),+* !"#$%-&'(Safe>;PyFFAssociate a template haskell extension to an haskell-src-ext extension;;None &'.1:Hg9é<PyF'If the formatter use its alternate form?PyFAll formating type@PyF6Default, depends on the infered type of the expressionAPyFBinary, such as `0b0121`BPyFBCharacter, will convert an integer to its character representationCPyF#Decimal, base 10 integer formattingDPyF)Exponential notation for floatting pointsEPyF&Exponential notation with capitalised eFPyF%Fixed number of digits floating pointGPyF#Capitalized version of the previousHPyFGeneral formatting: F or D" depending on the number magnitudeIPyFSame as H but with upper case E and infinite / NaNJPyFOctal, such as 00245KPyF Simple stringLPyFHexadecimal, such as 0xaf3eMPyF4Hexadecimal with capitalized letters, such as 0XAF3ENPyFPercent representationOPyFFloating point precisionRPyFRepresents a value of type t; or an Haskell expression supposed to represents that valueUPyFOPadding, containing the padding width, the padding char and the alignement modeXPyF:A Formatter, listing padding, format and and grouping charZPyFGA format string is composed of many chunks of raw string or replacement[PyF A raw string\PyFcA replacement string, composed of an arbitrary Haskell expression followed by an optional formatterbPyFTDefault formating mode, no padding, default precision, no grouping, no sign handlingcPyFBParse a string, returns a list of raw string or replacement fieldsimport Text.Megaparsec5parse parsePythonFormatString "" "hello {1+1:>10.2f}"Right [ Raw "hello ", Replacement "1+1" ( Just (FormatModeG (Padding 10 (Just (Nothing,AnyAlign AlignRight)))= (FixedF (Precision 2) NormalForm Minus)! Nothing))]yPyFêReplace escape chars with their value. Results in a Left with the remainder of the string on encountering a lexical error (such as a bad escape sequence). >>> escapeChars "hello \n" Right "hello n" >>> escapeChars "hello \x" Left "\x"(<=>?@ABCDEFGHIJKLMNOQPRSTUWVXYZ[\]^_`abc(cZ[\XYUWVOQP?@ABCDEFGHIJKLMN<=>ba]^_`RSTNone&'.=>?@AHPVXk=ÉmPyF,Parse a string and return a formatter for itzPyF$Default precision for floating point{PyFPrecision to maybemnmnNone=?k?âtPyF3Generic formatter, can format an expression to any t as long as t is an instance of IsString. tutu|      !"#$%&&'()*+,-./0123456789:;<=>?@ABBCDEFGHIJKLMNOPQRSTUTVWXYZY[[\]^__`abcdefghijklmnopqrstuvwxywz{wz|}~€"PyF-0.8.1.1-LAVGevVpZZF9ObXLzMw76X PyF.ClassPyF.FormattersPyF.Internal.ExtensionsPyF.Internal.PythonSyntaxPyF.Internal.QQPyF PyFToString pyfToString PyFClassify PyFCategory PyFIntegral PyFFractional PyFString$fPyFToStringText$fPyFToStringText0$fPyFToString[]FormatDecimal CharacterBinaryHexaOctalFixedExponentGenericPercent AlternateUpper FormatType FractionalIntegral UpperStatusCanUpperNoUpper AltStatusCanAltNoAltAnyAlign AlignMode AlignLeft AlignRight AlignInside AlignCenterAlignForStringAlignAll AlignNumberSignModePlusMinusSpacegetAlignForStringformatIntegralformatFractional formatString$fShowSignMode$fShowAlignForString $fShowSign $fShowRepr $fLiftFormat$fLiftSignMode$fLiftAlignMode$fLiftAnyAlign$fShowAnyAlign$fShowAlignModethExtToMetaExt AlternateForm NormalForm TypeFormatDefaultFBinaryF CharacterFDecimalF ExponentialFExponentialCapsFFixedF FixedCapsFGeneralF GeneralCapsFOctalFStringFHexFHexCapsFPercentF PrecisionPrecisionDefault ExprOrValueValue HaskellExprPaddingPaddingDefault FormatModeItemRaw ReplacementParsingContext delimitersenabledExtensionsParserDefaultFormatModeparseGenericFormatString$fShowParsingContext $fShowPadding$fShowExprOrValue$fShowPrecision$fShowTypeFlag$fShowAlternateForm$fShowTypeFormat$fShowFormatMode $fShowItemtoExp toExpPython!$fFormatAny2PyFStringtAlignNumber$fFormatAny2PyFStringtAlignAll$fFormatAny2PyFFractionaltk$fFormatAny2PyFIntegraltk $fFormatAnytkfmtfmtWithDelimitersbaseGHC.ShowShowGHC.Num-+ escapeCharsdefaultFloatPrecisionsplicePrecision