e{      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz Safe-Inferred!"24A formatter. The rx type means the returned value at the end. The more formatters you compose, the more this wil build up arguments from r to Int -> r to Char -> (Int -> r), etc.Composition operator.  is an instance of {=, but that is (at present) inconvenient to use with regular Prelude1. So this function is provided as a convenience.UFunction compose two formatters. Will feed the result of one formatter into another.!Insert a constant monoidal value.'Monadic indexed bind for holey monoids.>Insert a function which accepts some argument and produces a |, which is appended to the output at the end.later (f :: Int -> Builder) produces Format r (Int -> r). $Run the formatter and return a lazy } value. &Run the formatter and return a strict ~ value. Run the formatter and return a | value. 3Run the formatter and print out the text to stdout. 4Run the formatter and put the output onto the given .2Run the formatter and return a list of characters."The same as (%). At present using {G has an import overhead, but one day it might be imported as standard.DUseful instance for writing format string. With this you can write Foo instead of  now "Foo!".VUseful instance for applying two formatters to the same input argument. For example:  format (year <> "/" % month) now will yield  "2015/01".     *(c) 2013 Chris Done, 2013 Shachaf Ben-KikiBSD3chrisdone@gmail.com experimentalGHCNone!"HM$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.Like  but for formatters.#Build anything that implements the  Buildable class./Render an integral e.g. 123 -> "123", 0 -> "0".KRender some floating point with the usual notation, e.g. 123.32 => "123.32"~Render a floating point number using scientific/engineering notation (e.g. 2.3e123), with the given number of decimal places._Render a floating point number using normal notation, with the given number of decimal places.Render a floating point number, with the given number of digits of precision. Uses decimal notation for values between 0.1 and 9,999,999, and scientific notation otherwise.`Render a floating point number using the smallest number of digits that correctly represent it. Render a scientific number.!(Render a scientific number with options.",Shows the Int value of Enum instances using .4format ("Got: " % char % " (" % asInt % ")") 'a' 'a' "Got: a (97)"#nPad the left hand side of a string until it reaches k characters wide, if necessary filling with character c.$oPad the right hand side of a string until it reaches k characters wide, if necessary filling with character c.%vPad the left & right hand side of a string until it reaches k characters wide, if necessary filling with character c.&(Group integral numbers, e.g. groupInt 2  on 123456 -> "12.34.56".'0Fit in the given length, truncating on the left.(1Fit in the given length, truncating on the right.)2Add commas to an integral, e.g 12000 -> "12,000".*6Add a suffix to an integral, e.g. 1st, 2nd, 3rd, 21st.+&English plural suffix for an integral.,Render an integral at base n.-ORender an integer using binary notation. (No leading 0b is added.) Defined as bin = , 2..NRender an integer using octal notation. (No leading 0o is added.) Defined as oct = , 8./jRender an integer using hexadecimal notation. (No leading 0x is added.) Has a specialized implementation.0:Render an integer using binary notation with a leading 0b.19Render an integer using octal notation with a leading 0o.2?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-36$ !"#$%&'()*+,-./012" !"#$%&'()*+,-./012" !&)*+"#$%'(,-./012$ !"#$%&'()*+,-./012*(c) 2013 Chris Done, 2013 Shachaf Ben-KikiBSD3chrisdone@gmail.com experimentalGHCNone!"HM3Output a lazy text.4/Render an integral e.g. 123 -> "123", 0 -> "0".5CRender an integer using binary notation. (No leading 0b is added.)6ARender an integer using octal notation. (No leading 0o is added.)7HRender an integer using hexadecimal notation. (No leading 0x is added.)8Output a strict text.9Output a string.:%Output a showable value (instance of ) by turning it into }.;Output a character.<~Render a floating point number using scientific/engineering notation (e.g. 2.3e123), with the given number of decimal places.=_Render a floating point number using normal notation, with the given number of decimal places.>Render a floating point number, with the given number of digits of precision. Uses decimal notation for values between 0.1 and 9,999,999, and scientific notation otherwise.?`Render a floating point number using the smallest number of digits that correctly represent it.@4Pad the left hand side of a string until it reaches k7 characters wide, if necessary filling with character ch.A5Pad the right hand side of a string until it reaches k7 characters wide, if necessary filling with character ch.3456789:;<=>?@A3456789:;<=>?@A3456789:;<=>?@A3456789:;<=>?@ANoneHM/BTimezone offset on the format -HHMM.CTimezone name.DAs  locale (e.g. %a %b %e %H:%M:%S %Z %Y).ESame as %H:%M.FSame as %H:%M:%S.GAs  locale (e.g. %H:%M:%S).HAs  locale (e.g.  %I:%M:%S %p).IDay half from ( locale), converted to lowercase, am, pm.JDay half from ( locale), AM, PM.K$Hour, 24-hour, leading 0 as needed, 00 - 23.L$Hour, 12-hour, leading 0 as needed, 01 - 12.M(Hour, 24-hour, leading space as needed,  0 - 23.N(Hour, 12-hour, leading space as needed,  1 - 12.OMinute, 00 - 59.PSecond, without decimal part, 00 - 60.Q&Picosecond, including trailing zeros,  000000000000 -  999999999999.RDecimal point and up to 12 second decimals, without trailing zeros. For a whole number of seconds, this produces the empty string.TSame as %m/%d/%y.USame as %Y-%m-%d.VAs  locale (e.g. %m/%d/%y).WYear.XLast two digits of year, 00 - 99.Y2Century (being the first two digits of the year), 00 - 99.ZMonth 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.aYear for Week Date format e.g. 2013.b.Last two digits of year for Week Date format, 00 - 99.c9Century (first two digits of year) for Week Date format, 00 - 99.dWeek for Week Date format, 01 - 53.eDay for Week Date format, 1 - 7.fDay of week, short form ( from  locale), Sun - Sat.gDay of week, long form ( from  locale), Sunday - Saturday.h6Week number of year, where weeks start on Sunday (as sundayStartWeek), 00 - 53.iDay of week number, 0 (= Sunday) - 6 (= Saturday).j6Week number of year, where weeks start on Monday (as mondayStartWeek), 00 - 53.kiDisplay a time span as one time relative to another. Input is assumed to be seconds. Typical inputs are  and .l.Display the absolute value time span in years.m-Display the absolute value time span in days.n.Display the absolute value time span in hours.o0Display the absolute value time span in minutes.p0Display the absolute value time span in seconds.q0Formatter call. Probably don't want to use this.0BCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijkDisplay 'in/ago'?+Example: '3 seconds ago', 'in three days'.)lDecimal places.mDecimal places.nDecimal places.oDecimal places.pDecimal places.q0BCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopq0BCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopq0BCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopq *(c) 2013 Chris Done, 2013 Shachaf Ben-KikiBSD3chrisdone@gmail.com experimentalGHCNone!"HM-  !"#$%&'()*+,-./012  NonerSimple hello, world!sPrinting strings.tPrinting texts.uPrinting builders.vPrinting integers.wPrinting floating points.x$Printing integrals in hex (base-16).yPadding.rstuvwxyrstuvwxyrstuvwxyrstuvwxyNoneFzBFormat the duration from start to end (args passed in that order). Examples: "4.00 s 500.69 ms 1.20 ms 19.38 s zzzz  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~99999999formatting-6.2.0Formatting.FormattersFormatting.InternalFormatting.ShortFormattersFormatting.TimeFormatting.ExamplesFormatting.ClockNumeric showSigned Data.Char intToDigit Formattingtext-format-0.3.1.1Data.Text.Buildable BuildableFormat runFormat%%.nowbindlaterformatsformatbprintfprinthprintformatToString$fCategory*Format$fIsStringFormat$fMonoidFormattextstextstringshowncharbuilderfconstbuildintfloatexptfixedprecshortestsciscifmtasIntleftrightcentergroupIntfitLeftfitRightcommasordspluralbasebinocthex prefixBin prefixOct prefixHextdboxstsshceffpfsflrtztzNamedatetimehmhmshmsLhmsPLdayHalfdayHalfUhour24hour12hour24Shour12Sminutesecondpicodecimalsepoch dateSlashdateDash dateSlashLyearyycentury monthNamemonthNameShortmonth dayOfMonth dayOfMonthOrd dayOfMonthSdayweekYearweekYY weekCenturyweek dayOfWeek dayNameShortdayName weekFromZerodayOfWeekFromZero weekOfYearMondiffyearsdayshoursminutessecondsfmthellostringstextsbuildersintegersfloatshexespadding timeSpecsControl.CategoryCategory text-1.2.0.4Data.Text.Internal.BuilderBuilderData.Text.Internal.LazyTextData.Text.InternalGHC.IO.Handle.TypesHandleGHC.ShowShowGHC.BaseconstGHC.EnumfromEnum.atBase showSigned' intToDigit'old-locale-1.0.0.6 System.Locale dateTimeFmttimeFmt time12FmtamPmdateFmt Data.TuplefstmonthssndwDays time-1.4.2Data.Time.Clock.UTCNominalDiffTimeData.Time.Clock.ScaleDiffTime