}      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|Safe%&9;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  F, 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.Format a value of type a using a function of type a -> . For example, 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".    9 8*(c) 2013 Chris Done, 2013 Shachaf Ben-KikiBSD3chrisdone@gmail.com experimentalGHCNoneOT%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 experimentalGHCNoneOT4Output 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:;<=>?@ABNoneOT0CTimezone 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.s*Helper for creating custom time formatters1CDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklDisplay 'in/ago'?+Example: '3 seconds ago', 'in three days'.)mDecimal places.nDecimal places.oDecimal places.pDecimal places.qDecimal places.rs1CDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrs1CDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrs1CDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrs *(c) 2013 Chris Done, 2013 Shachaf Ben-KikiBSD3chrisdone@gmail.com experimentalGHCNoneOT.  !"#$%&'()*+,-./0123  NoneMtBFormat the duration from start to end (args passed in that order). Examples: "4.00 s 500.69 ms 1.20 ms 19.38 s ttttNoneuSimple hello, world!vPrinting strings.wPrinting texts.xPrinting builders.yPrinting integers.zPrinting floating points.{$Printing integrals in hex (base-16).|Padding.uvwxyz{|uvwxyz{|uvwxyz{|uvwxyz{|  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~99999999'formatting-6.2.3-IYwWZtHBdAzCDBcQpZpue1Formatting.FormattersFormatting.InternalFormatting.ShortFormattersFormatting.TimeFormatting.ClockFormatting.ExamplesNumeric showSigned Data.Char intToDigit Formatting*text-format-0.3.1.1-Er5Ka5Gwy8N8kUJEViEPHAData.Text.Buildable BuildableFormat runFormat%%.nowbindlaterformatsformatbprintfprinthprintformatToString$fCategoryTYPEFormat$fIsStringFormat$fMonoidFormattextstextstringshowncharbuilderfconstbuildintfloatexptfixedprecshortestsciscifmtasIntleftrightcentergroupIntfitLeftfitRightcommasordspluralbasebinocthex prefixBin prefixOct prefixHexbytestdboxstsshceffpfsflrtztzNamedatetimehmhmshmsLhmsPLdayHalfdayHalfUhour24hour12hour24Shour12Sminutesecondpicodecimalsepoch dateSlashdateDash dateSlashLyearyycentury monthNamemonthNameShortmonth dayOfMonth dayOfMonthOrd dayOfMonthSdayweekYearweekYY weekCenturyweek dayOfWeek dayNameShortdayName weekFromZerodayOfWeekFromZero weekOfYearMondiffyearsdayshoursminutessecondsfmt customTimeFmt timeSpecshellostringstextsbuildersintegersfloatshexespadding#text-1.2.2.1-9Yh8rJoh8fO2JMLWffT3QsData.Text.Internal.LazyTextghc-prim GHC.TypesIntControl.CategoryCategoryData.Text.Internal.BuilderBuilderData.Text.InternalGHC.IO.Handle.TypesHandleGHC.ShowShowGHC.BaseconstGHC.EnumfromEnum.atBase showSigned' intToDigit')old-locale-1.0.0.7-6glXNhHF891B41ZfuI8hU8 System.Locale dateTimeFmttimeFmt time12FmtamPmdateFmt Data.TuplefstmonthssndwDays time-1.6.0.1Data.Time.Clock.UTCNominalDiffTimeData.Time.Clock.ScaleDiffTime