?      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ (c) 2011 MailRank, Inc. BSD-stylebos@serpentine.com experimentalGHCNoneD >%Unsafe conversion for decimal digits. The normal 4 function with right associativity instead of left.4 NoneD  (c) 2011 MailRank, Inc. BSD-stylebos@serpentine.com experimentalGHCNone1K^Render a value using its  instance.'Render an integral type in hexadecimal.(c) 2011 MailRank, Inc. BSD-stylebos@serpentine.com experimentalGHCNone;=-The class of types that can be rendered to a . (c) 2011 MailRank, Inc. BSD-stylebos@serpentine.com experimentalGHCNone4Pad the left hand side of a string until it reaches k7 characters wide, if necessary filling with character c.5Pad the right hand side of a string until it reaches k7 characters wide, if necessary filling with character c._Render a floating point number using normal notation, with the given number of decimal places.`Render a floating point number using the smallest number of digits that correctly represent it.KRender an integer using hexadecimal notation. (No leading "0x" is added.)0Number of digits of precision after the decimal.Safe&';=Ba'FA formatter. When you construct formatters the first type parameter, r8, will remain polymorphic. The second type parameter, aX, will change to reflect the types of the data that will be formatted. For example, in emyFormat :: Formatter r (Text -> Int -> r) myFormat = "Person's name is " % text % ", age is " % hex Pthe first type parameter remains polymorphic, and the second type parameter is Text -> Int -> r%, which indicates that it formats a  and an .When you run the ', for example with 0F, you provide the arguments and they will be formatted into a string. g> format ("Person's name is " % text % ", age is " % hex) "Dave" 54 "Person's name is Dave, age is 36" *Concatenate two formatters.formatter1 % formatter2, is a formatter that accepts arguments for  formatter1 and  formatter2- and concatenates their results. For example Eformat1 :: Format r (Text -> r) format1 = "Person's name is " % text  %format2 :: Format r r format2 = ", "  9format3 :: Format r (Int -> r) format3 = "age is " % hex  RmyFormat :: Formatter r (Text -> Int -> r) myFormat = format1 % format2 % format3 !Notice how the argument types of format1 and format3 are gathered into the type of myFormat./(This is actually the composition operator for Format's F instance, but that is (at present) inconvenient to use with regular Prelude2. So this function is provided as a convenience.)+UFunction compose two formatters. Will feed the result of one formatter into another.,.Don't format any data, just output a constant .-'Monadic indexed bind for holey monoids..2Functorial map over a formatter's input. Example: %format (mapf (drop 1) string) "hello"/Format a value of type a using a function of type a -> . For example, later (f :: Int -> Builder) produces Format r (Int -> r).0$Run the formatter and return a lazy  value.1&Run the formatter and return a strict  value.2Run the formatter and return a  value.33Run the formatter and print out the text to stdout.44Run the formatter and put the output onto the given .52Run the formatter and return a list of characters.6"The same as (%). At present using G has an import overhead, but one day it might be imported as standard.7DUseful instance for writing format string. With this you can write Foo instead of  now "Foo!".9VUseful instance for applying two formatters to the same input argument. For example:  format (year <> "/" % month) now will yield  "2015/01".:&Not particularly useful, but could be.'()*+,-./012345'():9876*+,-./012345'()*9 +8*(c) 2013 Chris Done, 2013 Shachaf Ben-KikiBSD3chrisdone@gmail.com experimentalGHCNoneQVj#;Output a lazy text.<Output a strict text.=Output a string.>%Output a showable value (instance of ) by turning it into :@format ("Value number " % shown % " is " % shown % ".") 42 False"Value number 42 is False."?Output a character.@Build a builder.ALike  but for formatters.B#Build anything that implements the  Buildable class.C/Render an integral e.g. 123 -> "123", 0 -> "0".DKRender some floating point with the usual notation, e.g. 123.32 => "123.32"E_Render a floating point number using normal notation, with the given number of decimal places.F`Render a floating point number using the smallest number of digits that correctly represent it.GRender a scientific number.H(Render a scientific number with options.I,Shows the Int value of Enum instances using .4format ("Got: " % char % " (" % asInt % ")") 'a' 'a' "Got: a (97)"JnPad the left hand side of a string until it reaches k characters wide, if necessary filling with character c.KoPad the right hand side of a string until it reaches k characters wide, if necessary filling with character c.LvPad the left & right hand side of a string until it reaches k characters wide, if necessary filling with character c.M(Group integral numbers, e.g. groupInt 2  on 123456 -> "12.34.56".N0Fit in the given length, truncating on the left.O1Fit in the given length, truncating on the right.P2Add commas to an integral, e.g 12000 -> "12,000".Q6Add a suffix to an integral, e.g. 1st, 2nd, 3rd, 21st.R&English plural suffix for an integral.SRender an integral at base n.TORender an integer using binary notation. (No leading 0b is added.) Defined as bin = S 2.UNRender an integer using octal notation. (No leading 0o is added.) Defined as oct = S 8.VjRender an integer using hexadecimal notation. (No leading 0x is added.) Has a specialized implementation.W:Render an integer using binary notation with a leading 0b.X9Render an integer using octal notation with a leading 0o.Y?Render an integer using hexadecimal notation with a leading 0x.KInternal function that converts a number to a base base-2 through base-36.A simpler variant of  > that only prepends a dash and doesn't know about parenthesesLike , but handles up to base-36ZERenders a given byte count using an appropiate decimal binary suffix:format (bytes shortest) 1024"1KB",format (bytes (fixed 2 % " ")) (1024*1024*5) "5.00 MB"Zformatter for the decimal part!;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ!;<=>?@ACDEGHFMPQRIJKLNOSTUVWXYZB*(c) 2013 Chris Done, 2013 Shachaf Ben-KikiBSD3chrisdone@gmail.com experimentalGHCNoneQVm*.')*+,./012345;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ')*+,/.)012345Noneq[Simple hello, world!\Printing strings.]Printing texts.^Printing builders._Printing integers.`Printing floating points.a$Printing integrals in hex (base-16).bPadding.[\]^_`ab[\]^_`abNoneOrcSame as  durationNS but works on  from the clock package.cc*(c) 2013 Chris Done, 2013 Shachaf Ben-KikiBSD3chrisdone@gmail.com experimentalGHCNoneQVA dOutput a lazy text.e/Render an integral e.g. 123 -> "123", 0 -> "0".fCRender an integer using binary notation. (No leading 0b is added.)gARender an integer using octal notation. (No leading 0o is added.)hHRender an integer using hexadecimal notation. (No leading 0x is added.)iOutput a strict text.jOutput a string.k%Output a showable value (instance of ) by turning it into .lOutput a character.m_Render a floating point number using normal notation, with the given number of decimal places.n`Render a floating point number using the smallest number of digits that correctly represent it.o4Pad the left hand side of a string until it reaches k7 characters wide, if necessary filling with character ch.p5Pad the right hand side of a string until it reaches k7 characters wide, if necessary filling with character ch. defghijklmnop defghijklmnopNoneQV0qTimezone offset on the format -HHMM.rTimezone name.sAs  locale (e.g. %a %b %e %H:%M:%S %Z %Y).tSame as %H:%M.uSame as %H:%M:%S.vAs  locale (e.g. %H:%M:%S).wAs  locale (e.g.  %I:%M:%S %p).xDay half from ( locale), converted to lowercase, am, pm.yDay half from ( locale), AM, PM.z$Hour, 24-hour, leading 0 as needed, 00 - 23.{$Hour, 12-hour, leading 0 as needed, 01 - 12.|(Hour, 24-hour, leading space as needed,  0 - 23.}(Hour, 12-hour, leading space as needed,  1 - 12.~Minute, 00 - 59.Second, without decimal part, 00 - 60.&Picosecond, including trailing zeros,  000000000000 -  999999999999.Decimal point and up to 12 second decimals, without trailing zeros. For a whole number of seconds, this produces the empty string.Same as %m/%d/%y.Same as %Y-%m-%d.As  locale (e.g. %m/%d/%y).Year.Last two digits of year, 00 - 99.2Century (being the first two digits of the year), 00 - 99.Month name, long form ( from  locale), January - December. %H] month name, short form ( from  locale), Jan - Dec@.$Month of year, leading 0 as needed, 01 - 12.#Day of month, leading 0 as needed, 01 - 31.Day of month, 1st, 2nd, 25th, etc.'Day of month, leading space as needed,  1 - 31.%Day of year for Ordinal Date format, 001 - 366.Year for Week Date format e.g. 2013..Last two digits of year for Week Date format, 00 - 99.9Century (first two digits of year) for Week Date format, 00 - 99.Week for Week Date format, 01 - 53.Day for Week Date format, 1 - 7.Day of week, short form ( from  locale), Sun - Sat.Day of week, long form ( from  locale), Sunday - Saturday.6Week number of year, where weeks start on Sunday (as sundayStartWeek), 00 - 53.Day of week number, 0 (= Sunday) - 6 (= Saturday).6Week number of year, where weeks start on Monday (as mondayStartWeek), 00 - 53.iDisplay a time span as one time relative to another. Input is assumed to be seconds. Typical inputs are  and ..Display the absolute value time span in years.-Display the absolute value time span in days..Display the absolute value time span in hours.0Display the absolute value time span in minutes.0Display the absolute value time span in seconds.0Formatter call. Probably don't want to use this.*Helper for creating custom time formattersDisplay 'in/ago'?+Example: '3 seconds ago', 'in three days'.)Decimal places.Decimal places.Decimal places.Decimal places.Decimal places.1qrstuvwxyz{|}~1qrstuvwxyz{|}~ !"#$%&'()*+,-./01234567889:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~b   b   N  Y Z T U ebbbbbbb&formatting-6.3.2-hXoNVCFtSKCZoc7ZZWvzjFormatting.BuildableFormatting.InternalFormatting.FormattersFormatting.ExamplesFormatting.ClockFormatting.ShortFormattersFormatting.TimeData.Text.Format.FunctionsData.Text.Format.IntData.Text.Format.TypesData.Text.FormatNumeric showSigned Data.Char intToDigit Formatting Buildablebuild$fBuildableBool$fBuildablePtr$fBuildableWordPtr$fBuildableIntPtr$fBuildableZonedTime$fBuildableLocalTime$fBuildableTimeZone$fBuildableTimeOfDay$fBuildableMaybe$fBuildableShown$fBuildableDay$fBuildableUniversalTime$fBuildableUTCTime$fBuildableNominalDiffTime$fBuildableDiffTime$fBuildableDouble$fBuildableFloat$fBuildableRatio$fBuildableWord64$fBuildableWord$fBuildableWord32$fBuildableWord16$fBuildableWord8$fBuildableFixed$fBuildableInteger$fBuildableInt64$fBuildableInt$fBuildableInt32$fBuildableInt16$fBuildableInt8$fBuildableHex $fBuildable[]$fBuildableChar$fBuildableText$fBuildableText0$fBuildableVoid$fBuildableBuilderFormat runFormat%%.nowbindmapflaterformatsformatbprintfprinthprintformatToString$fCategoryTYPEFormat$fIsStringFormat$fSemigroupFormat$fMonoidFormat$fFunctorFormattextstextstringshowncharbuilderfconstintfloatfixedshortestsciscifmtasIntleftrightcentergroupIntfitLeftfitRightcommasordspluralbasebinocthex prefixBin prefixOct prefixHexbyteshellostringstextsbuildersintegersfloatshexespadding timeSpecstdboxstsshcfsflrtztzNamedatetimehmhmshmsLhmsPLdayHalfdayHalfUhour24hour12hour24Shour12Sminutesecondpicodecimalsepoch dateSlashdateDash dateSlashLyearyycentury monthNamemonthNameShortmonth dayOfMonth dayOfMonthOrd dayOfMonthSdayweekYearweekYY weekCenturyweek dayOfWeek dayNameShortdayName weekFromZerodayOfWeekFromZero weekOfYearMondiffyearsdayshoursminutessecondsfmt customTimeFmti2d<>GHC.Basemappenddecimal hexadecimalminusintegerTShownGHC.ShowShowHex#text-1.2.2.2-EakMpasry3jA6OIwSZhq9MData.Text.Internal.BuilderBuilderData.Text.Internal.LazyTextghc-prim GHC.TypesIntControl.CategoryCategoryData.Text.InternalGHC.IO.Handle.TypesHandleconstGHC.EnumfromEnum.atBase showSigned' intToDigit'!clock-0.7.2-HOYfHHJ3W4Qjx04GjA0Jy System.ClockTimeSpec(old-locale-1.0.0.7-uLYLcRn7Nv8SkmeS8fMf9 System.Locale dateTimeFmttimeFmt time12FmtamPmdateFmt Data.TuplefstmonthssndwDays time-1.8.0.2(Data.Time.Clock.Internal.NominalDiffTimeNominalDiffTime!Data.Time.Clock.Internal.DiffTimeDiffTime