h$E@ٽ      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~                                                None '(` fmt Convert a  to something else.fmtConcatenate, then convert.fmt and concatenate, then convert.fmtConcatenate, then convert.fmt and concatenate, then convert. fmt  converts things to , ,  or .>Most of the time you won't need it, as strings produced with () and () can already be used as , !, etc. However, combinators like listF can only produce 2 (for better type inference), and you need to use   on them.Also,   can do printing:fmt "Hello world!\n" Hello world!fmtLike  , but appends a newline.fmt shows a value using its  instance.fmtLike , but appends a newline.  1111 1 1 1 1None '(fmtIndent a block of text.;fmt $ "This is a list:\n" <> indentF 4 (blockListF [1,2,3])This is a list: - 1 - 2 - 3The output will always end with a newline, even when the input doesn't.fmtAdd a prefix to the first line, and indent all lines but the first one.The output will always end with a newline, even when the input doesn't.fmtAttach a name to anything: instead of an empty string.:build (Nothing :: Maybe Int)""build (Just 1 :: Maybe Int)"1"*:maybeF (Nothing :: Maybe Int) ""maybeF (Just 1 :: Maybe Int)"1"+fmt Format an :$eitherF (Right 1 :: Either Bool Int) "",fmtTake the first N characters:prefixF 3 "hello""hel"-fmtTake the last N characters:suffixF 3 "hello""llo".fmt padLeftF n c pads the string with character c% from the left side until it becomes n characters wide (and does nothing if the string is already that long, or longer):padLeftF 5 '0' 12"00012"padLeftF 5 '0' 123456"123456"/fmt padRightF n c pads the string with character c& from the right side until it becomes n characters wide (and does nothing if the string is already that long, or longer):padRightF 5 ' ' "foo""foo "padRightF 5 ' ' "foobar""foobar"0fmt padBothF n c pads the string with character c" from both sides until it becomes n characters wide (and does nothing if the string is already that long, or longer):padBothF 5 '=' "foo""=foo="padBothF 5 '=' "foobar""foobar"When padding can't be distributed equally, the left side is preferred:padBothF 8 '=' "foo" "===foo=="1fmt+Display something only if the condition is  (empty string otherwise).Note that it can only take a / (because otherwise it would be unusable with (-)-formatted strings which can resolve to any ). You can use  to convert any value to a .2fmt+Display something only if the condition is  (empty string otherwise).!fmtBulletfmtBuilder for elementsfmtStructure with elements !"#$%&'()*+,-./012 !"#$%&'()*+,-./012None ?3fmtFormat a number as octal:listF' octF [7,8,9,10]"[7, 10, 11, 12]"4fmtFormat a number as binary:listF' binF [7,8,9,10]"[111, 1000, 1001, 1010]"5fmt-Format a number in arbitrary base (up to 36): baseF 3 10000 "111201101" baseF 7 10000"41104"baseF 36 10000"7ps"6fmtFormat a floating-point number: floatF 3.1415"3.1415"Numbers smaller than 1e-6 or bigger-or-equal to 1e21 will be displayed using scientific notation:listF' floatF [-1.2,-12.2]"[-1.2, -12.2]"listF' floatF [1e-6,9e-7]"[0.000001, 9.0e-7]"listF' floatF [9e20,1e21]#"[900000000000000000000.0, 1.0e21]"7fmtFormat a floating-point number using scientific notation, with the given amount of decimal places.listF' (exptF 5) [pi,0.1,10]$"[3.14159e0, 1.00000e-1, 1.00000e1]"8fmt;Format a floating-point number without scientific notation:listF' (fixedF 5) [pi,0.1,10]"[3.14159, 0.10000, 10.00000]"9fmtBreak digits in a number:commaizeF 15830000 "15,830,000":fmt"Add an ordinal suffix to a number: ordinalF 15"15th" ordinalF 22"22nd" 3456789:;<=> 3456789:;<=>None >?"+?fmtSomething like    in  Text.Printf.AfmtA format string. This is intentionally incompatible with other string types, to make it difficult to construct a format string by concatenating string fragments (a very common way to accidentally make code vulnerable to malicious data).This type is an instance of <, so the easiest way to construct a query is to enable the OverloadedStrings language extension and then simply write the query in double quotes. {-# LANGUAGE OverloadedStrings #-} import Fmt f :: Format f = "hello {}"The underlying type is , so literal Haskell strings that contain Unicode characters will be correctly handled.Dfmt,An old-style formatting function taken from  text-format (see Data.Text.Format ). Unlike   from Data.Text.Format, it can produce  and strict < as well (and print to console too). Also it's polyvariadic:format "{} + {} = {}" 2 2 4 2 + 2 = 4!You can use arbitrary formatters:format "0x{} + 0x{} = 0x{}" (hexF 130) (hexF 270) (hexF (130+270))0x82 + 0x10e = 0x190EfmtLike D, but adds a newline.Ffmt*Render a format string and arguments to a . ?@ABCDEFGH DEABCFGH?@None >#Rfmt%Format a tuple (of up to 8 elements):tupleF (1,2,"hi") "(1, 2, hi)"If any of the elements takes several lines, an alternate format is used:,fmt $ tupleF ("test","foo\nbar","more test")( test, foo bar, more test )You can also use R' on lists to get tuple-like formatting.QRQRNone >?(\]fmt2Get fields, together with their names if available^fmtA more powerful  used for d. Can build functions, tuples, lists, maps, etc., as well as combinations thereof.bfmt!A newtype for deriving a generic  instance for any type using  DerivingVia.:set -XDerivingVia:{(data Bar = Bar { x :: Bool, y :: [Int] } deriving stock Generic- deriving Buildable via GenericBuildable Bar:}pretty (Bar True [1,2,3])Bar: x: True y: [1, 2, 3]dfmt.Format an arbitrary value without requiring a  instance:9data Foo = Foo { x :: Bool, y :: [Int] } deriving Generic!fmt (genericF (Foo True [1,2,3]))Foo: x: True y: [1, 2, 3])It works for non-record constructors too:*data Bar = Bar Bool [Int] deriving Generic#fmtLn (genericF (Bar True [1,2,3]))*Any fields inside the type must either be  or one of the following types: a functiona tuple (up to 8-tuples)list, , , , , , The exact format of d might change in future versions, so don't rely on it. It's merely a convenience function. \]^_`abcd dbc`a^_\]None >*fmtConvert a bytestring to base64:(base64F ("\0\50\63\80" :: BS.ByteString) "ADI/UA=="fmtConvert a bytestring to base64url (a variant of base64 which omits / and thus can be used in URLs):+base64UrlF ("\0\50\63\80" :: BS.ByteString) "ADI_UA=="fmt%Format a number or bytestring as hex: hexF 3635"e33"%hexF ("\0\50\63\80" :: BS.ByteString) "00323f50"  !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHQR\]^_`abcd None ?0fmtFormat time with an arbitrary formatting string. Other formatters in this module are implemented using .fmtTimezone offset on the format -HHMM.t2018-02-14 16:20:45.5 CSTtzF t"-0600"fmtTimezone name. tzNameF t"CST"fmtAs  locale (e.g. %a %b %e %H:%M:%S %Z %Y). dateTimeF t"Wed Feb 14 16:20:45 CST 2018"fmtSame as %H:%M.hmF t"16:20"fmtSame as %H:%M:%S.hmsF t "16:20:45"fmtAs  locale (e.g. %H:%M:%S).hmsLF t "16:20:45"fmtAs  locale (e.g.  %I:%M:%S %p).hmsPLF t "04:20:45 PM"fmtDay half from ( locale), converted to lowercase, am, pm. dayHalfF t"pm"fmtDay half from ( locale), AM, PM. dayHalfUF t"PM"fmt$Hour, 24-hour, leading 0 as needed, 00 - 23. hour24F t"16"hour24F midnight"00"fmt$Hour, 12-hour, leading 0 as needed, 01 - 12. hour12F t"04"hour12F midnight"12"fmt(Hour, 24-hour, leading space as needed,  0 - 23. hour24SF t"16"hour24SF midnight" 0"fmt(Hour, 12-hour, leading space as needed,  1 - 12. hour12SF t" 4"hour12SF midnight"12"fmtMinute, 00 - 59. minuteF t"20"fmtSecond, without decimal part, 00 - 60. secondF t"45"fmt&Picosecond, including trailing zeros,  000000000000 -  999999999999. picosecondF t"500000000000"fmtDecimal point of the second. Up to 12 digits, without trailing zeros. For a whole number of seconds, this produces an empty string. subsecondF t".5"fmtNumber of whole seconds since the Unix epoch. For times before the Unix epoch, this is a negative number. Note that in %s.%q and %s%Q the decimals are positive, not negative. For example, 0.9 seconds before the Unix epoch is formatted as -1.1 with %s%Q.epochF t "1518646845"fmtSame as %m/%d/%y. dateSlashF t "02/14/18"fmtSame as %Y-%m-%d. dateDashF t "2018-02-14"fmtAs  locale (e.g. %m/%d/%y). dateSlashLF t "02/14/18"fmtYear.yearF t"2018"fmtLast two digits of year, 00 - 99.yyF t"18"fmt2Century (being the first two digits of the year), 00 - 99. centuryF t"20"fmtMonth name, long form ( from  locale), January - December. monthNameF t "February"fmtMonth name, short form ( from  locale), Jan - Dec.monthNameShortF t"Feb"fmt$Month of year, leading 0 as needed, 01 - 12.monthF t"02"fmt#Day of month, leading 0 as needed, 01 - 31. dayOfMonthF t"14"fmtDay of month, 1st, 2nd, 25th, etc.dayOfMonthOrdF t"14th"fmt'Day of month, leading space as needed,  1 - 31.fmt%Day of year for Ordinal Date format, 001 - 366.dayF t"045"fmtYear for Week Date format e.g. 2013. weekYearF t"2018"fmt.Last two digits of year for Week Date format, 00 - 99. weekYYF t"18"fmt9Century (first two digits of year) for Week Date format, 00 - 99.weekCenturyF t"20"fmtWeek for Week Date format, 01 - 53.weekF t"07"fmtDay for Week Date format, 1 - 7. dayOfWeekF t"3"fmtDay of week, short form ( from  locale), Sun - Sat.dayNameShortF t"Wed"fmtDay of week, long form ( from  locale), Sunday - Saturday. dayNameF t "Wednesday"fmt6Week number of year, where weeks start on Sunday (as sundayStartWeek), 00 - 53.weekFromZeroF t"06"fmtDay of week number, 0 (= Sunday) - 6 (= Saturday).dayOfWeekFromZeroF t"3"fmt6Week number of year, where weeks start on Monday (as mondayStartWeek), 00 - 53.weekOfYearMonF t"07"fmtDisplay a time span as one time relative to another. Input is assumed to be seconds. Typical inputs are  and .diffF False 100 "a minute"diffF True 100 "in a minute"fmt.Display the absolute value time span in years.,epochF t -- time passed since Jan 1, 1970 "1518646845"yearsF 3 1518646845"48.156"fmt-Display the absolute value time span in days.daysF 3 1518646845 "17576.931"fmt.Display the absolute value time span in hours. hoursF 3 3600"1.000"fmt0Display the absolute value time span in minutes.minutesF 3 150"2.500"fmt0Display the absolute value time span in seconds.secondsF 3 100 "100.000"fmtWhether to display the in/ago prefix or notfmt Example:  3 seconds ago,  in 2 daysfmtDecimal places.fmtDecimal places.fmtDecimal places.fmtDecimal places.fmtDecimal places.00None?  !"#$%&'()*+,-./0123456789:ADERbcd; DEA  !"#$%&'()R*+,-./0:934567812dbc !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSST UVWXYZ[\]^_`abcdefghijklmnopqrrstuvwxyz{|}~                                                "fmt-0.6.3.0-GuCpCyfUc433wR3yuIVzmFFmtFmt.Internal.CoreFmt.Internal.FormattersFmt.Internal.NumericFmt.Internal.TemplateFmt.Internal.TupleFmt.Internal.Generic Fmt.InternalFmt.Time Text.Printf PrintfTypeData.Text.Formatformat text-1.2.3.2Data.Text.Internal.BuilderBuilder'formatting-7.1.3-6mj0dW1eaYtCgxSJglPDF9Formatting.Buildablebuild Buildable FromBuilder fromBuilder+||++||||+|++|||++|||++||||++|fmtfmtLnprettyprettyLn$fFromBuilderIO$fFromBuilderBuilder$fFromBuilderByteString$fFromBuilderByteString0$fFromBuilderText$fFromBuilderText0$fFromBuilder[]$fFromBuilderBuilder0indentFindentF'nameFunwordsFunlinesFlistFlistF' blockListF blockListF' jsonListF jsonListF'mapFmapF' blockMapF blockMapF'jsonMapF jsonMapF'maybeFeitherFprefixFsuffixFpadLeftF padRightFpadBothFwhenFunlessFoctFbinFbaseFfloatFexptFfixedF commaizeFordinalFgroupIntatBase showSigned' intToDigit' FormatTypeformat'Format fromFormatformatLn renderFormat zipParamscrack$fIsStringFormat$fMonoidFormat$fSemigroupFormat $fFormatTyper$fFormatType-> $fEqFormat $fOrdFormat $fShowFormatTupleFtupleF $fTupleF[] $fTupleF[]0$fTupleF(,,,,,,,)$fTupleF(,,,,,,)$fTupleF(,,,,,)$fTupleF(,,,,) $fTupleF(,,,) $fTupleF(,,) $fTupleF(,) GetFields getFields Buildable'build' GBuildablegbuildGenericBuildablegenericF$fGBuildableM1$fGBuildable:+:$fBuildableGenericBuildable $fBuildable'a$fBuildable'->$fBuildable'Either$fBuildable'Maybe$fBuildable'IntSet$fBuildable'IntMap$fBuildable'Set$fBuildable'Map$fBuildable'Seq$fBuildable'NonEmpty$fBuildable'[]$fBuildable'[]0$fBuildable'(,,,,,,,)$fBuildable'(,,,,,,)$fBuildable'(,,,,,)$fBuildable'(,,,,)$fBuildable'(,,,)$fBuildable'(,,)$fBuildable'(,)$fBuildable'()$fGBuildableK1 $fGetFieldsU1 $fGetFieldsM1$fGetFieldsM10$fGetFieldsM11$fGetFields:*:$fGBuildableM10FormatAsBase64base64F base64UrlF FormatAsHexhexF$fFormatAsHexa$fFormatAsHexByteString$fFormatAsHexByteString0$fFormatAsBase64ByteString$fFormatAsBase64ByteString0timeFtzFtzNameF dateTimeFhmFhmsFhmsLFhmsPLFdayHalfF dayHalfUFhour24Fhour12Fhour24SFhour12SFminuteFsecondF picosecondF subsecondFepochF dateSlashF dateDashF dateSlashLFyearFyyFcenturyF monthNameFmonthNameShortFmonthF dayOfMonthFdayOfMonthOrdF dayOfMonthSFdayF weekYearFweekYYF weekCenturyFweekF dayOfWeekF dayNameShortFdayNameF weekFromZeroFdayOfWeekFromZeroFweekOfYearMonFdiffFyearsFdaysFhoursFminutesFsecondsFbaseGHC.ShowshowGHC.BaseStringData.Text.InternalTextbytestring-0.10.10.0Data.ByteString.Internal ByteString GHC.MaybeMaybeNothing Data.EitherEitherghc-prim GHC.TypesTrueFalse Data.StringIsStringNonEmptycontainers-0.6.2.1Data.Sequence.InternalSeqData.Map.InternalMapData.IntMap.InternalIntMapData.Set.InternalSetData.IntSet.InternalIntSet time-1.9.3Data.Time.Format.Locale dateTimeFmttimeFmt time12FmtamPmdateFmt Data.TuplefstmonthssndwDays(Data.Time.Clock.Internal.NominalDiffTimeNominalDiffTime!Data.Time.Clock.Internal.DiffTimeDiffTime