|      !"#$%&'()*+,-./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-363ERenders 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"% !"#$%&'()*+,-./0123formatter for the decimal part# !"#$%&'()*+,-./0123# !&)*+"#$%'(,-./0123% !"#$%&'()*+,-./0123*(c) 2013 Chris Done, 2013 Shachaf Ben-KikiBSD3chrisdone@gmail.com experimentalGHCNone!"HM4Output a lazy text.5/Render an integral e.g. 123 -> "123", 0 -> "0".6CRender an integer using binary notation. (No leading 0b is added.)7ARender an integer using octal notation. (No leading 0o is added.)8HRender an integer using hexadecimal notation. (No leading 0x is added.)9Output a strict text.:Output 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.A4Pad the left hand side of a string until it reaches k7 characters wide, if necessary filling with character ch.B5Pad the right hand side of a string until it reaches k7 characters wide, if necessary filling with character ch.456789:;<=>?@AB456789:;<=>?@AB456789:;<=>?@AB456789:;<=>?@ABNoneHM/CTimezone offset on the format -HHMM.DTimezone name.EAs  locale (e.g. %a %b %e %H:%M:%S %Z %Y).FSame as %H:%M.GSame as %H:%M:%S.HAs  locale (e.g. %H:%M:%S).IAs  locale (e.g.  %I:%M:%S %p).JDay half from ( locale), converted to lowercase, am, pm.KDay half from ( locale), AM, PM.L$Hour, 24-hour, leading 0 as needed, 00 - 23.M$Hour, 12-hour, leading 0 as needed, 01 - 12.N(Hour, 24-hour, leading space as needed,  0 - 23.O(Hour, 12-hour, leading space as needed,  1 - 12.PMinute, 00 - 59.QSecond, without decimal part, 00 - 60.R&Picosecond, including trailing zeros,  000000000000 -  999999999999.SDecimal point and up to 12 second decimals, without trailing zeros. For a whole number of seconds, this produces the empty string.USame as %m/%d/%y.VSame as %Y-%m-%d.WAs  locale (e.g. %m/%d/%y).XYear.YLast two digits of year, 00 - 99.Z2Century (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.a%Day of year for Ordinal Date format, 001 - 366.bYear for Week Date format e.g. 2013.c.Last two digits of year for Week Date format, 00 - 99.d9Century (first two digits of year) for Week Date format, 00 - 99.eWeek for Week Date format, 01 - 53.fDay for Week Date format, 1 - 7.gDay of week, short form ( from  locale), Sun - Sat.hDay of week, long form ( from  locale), Sunday - Saturday.i6Week number of year, where weeks start on Sunday (as sundayStartWeek), 00 - 53.jDay of week number, 0 (= Sunday) - 6 (= Saturday).k6Week number of year, where weeks start on Monday (as mondayStartWeek), 00 - 53.liDisplay a time span as one time relative to another. Input is assumed to be seconds. Typical inputs are  and .m.Display the absolute value time span in years.n-Display the absolute value time span in days.o.Display the absolute value time span in hours.p0Display the absolute value time span in minutes.q0Display the absolute value time span in seconds.r0Formatter call. Probably don't want to use this.0CDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklDisplay 'in/ago'?+Example: '3 seconds ago', 'in three days'.)mDecimal places.nDecimal places.oDecimal places.pDecimal places.qDecimal places.r0CDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqr0CDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqr0CDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqr *(c) 2013 Chris Done, 2013 Shachaf Ben-KikiBSD3chrisdone@gmail.com experimentalGHCNone!"HM.  !"#$%&'()*+,-./0123  NonesSimple hello, world!tPrinting strings.uPrinting texts.vPrinting builders.wPrinting integers.xPrinting floating points.y$Printing integrals in hex (base-16).zPadding.stuvwxyzstuvwxyzstuvwxyzstuvwxyzNoneF{BFormat the duration from start to end (args passed in that order). Examples: "4.00 s 500.69 ms 1.20 ms 19.38 s {{{{  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~99999999formatting-6.2.2Formatting.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 prefixHexbytestdboxstsshceffpfsflrtztzNamedatetimehmhmshmsLhmsPLdayHalfdayHalfUhour24hour12hour24Shour12Sminutesecondpicodecimalsepoch dateSlashdateDash dateSlashLyearyycentury monthNamemonthNameShortmonth dayOfMonth dayOfMonthOrd dayOfMonthSdayweekYearweekYY weekCenturyweek dayOfWeek dayNameShortdayName weekFromZerodayOfWeekFromZero weekOfYearMondiffyearsdayshoursminutessecondsfmthellostringstextsbuildersintegersfloatshexespadding timeSpecsControl.CategoryCategory text-1.2.1.1Data.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