úÎkKfåO      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNNone%&9;Convert a bytestring to base64:(base64F ("\0\50\63\80" :: BS.ByteString) "ADI/UA=="CConvert 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=="%Format a number or bytestring as hex: hexF 3635"e33"       None 9;DRT$%Format a tuple (of up to 8 elements):tupleF (1,2,"hi") "(1, 2, hi)"HIf any of the elements takes several lines, an alternate format is used: U>>> fmt $ tupleF ("test","foonbar","more test") ( test , foo bar , more test ) %% converts things to O, Text or .>Most of the time you won't need it, as strings produced with () and () can already be used as O, Text!, etc. However, combinators like ( 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!&Like %, but appends a newline.'Attach a name to anything:<fmt $ nameF "clients" $ blockListF ["Alice", "Bob", "Zalgo"]clients: - Alice - Bob - Zalgo((A simple comma-separated list formatter.listF ["hello", "world"]"[hello, world]"For multiline output, use ,.) A version of (C that lets you supply your own building function for list elements.PFor instance, to format a list of lists you'd have to do this (since there's no  instance for lists):listF' listF [[1,2,3],[4,5,6]]"[[1, 2, 3], [4, 5, 6]]"* A multiline formatter for lists.fmt $ blockListF [1,2,3]- 1- 2- 31It automatically handles multiline list elements: Y>>> fmt $ blockListF ["hellonworld", "foonbarnquix"] - hello world - foo bar quix + A version of *C that lets you supply your own building function for list elements.,!A JSON-style formatter for lists.fmt $ jsonListF [1,2,3][ 1, 2, 3]Like *%, it handles multiline elements well:2fmt $ jsonListF ["hello\nworld", "foo\nbar\nquix"][ hello world, foo bar quix](Note that, unlike *,, it doesn't add blank lines in such cases.)- A version of ,C that lets you supply your own building function for list elements..bA simple JSON-like map formatter; works for Map, HashMap, etc, as well as ordinary lists of pairs.mapF [("a", 1), ("b", 4)]"{a: 1, b: 4}"For multiline output, use 2./ A version of .E that lets you supply your own building function for keys and values.0A YAML-like map formatter:Ifmt $ blockMapF [("Odds", blockListF [1,3]), ("Evens", blockListF [2,4])]Odds: - 1 - 3Evens: - 2 - 41 A version of 0E that lets you supply your own building function for keys and values.2"A JSON-like map formatter (unlike ., always multiline):Ffmt $ jsonMapF [("Odds", jsonListF [1,3]), ("Evens", jsonListF [2,4])] { Odds: [ 1 , 3 ], Evens: [ 2 , 4 ]}3 A version of 2E that lets you supply your own building function for keys and values.4=Format a list like a tuple. (This function is used to define .)5Like  for P, but displays Q as  Nothing instead of an empty string.:build (Nothing :: Maybe Int)""build (Just 1 :: Maybe Int)"1"5:maybeF (Nothing :: Maybe Int) "<Nothing>"maybeF (Just 1 :: Maybe Int)"1"6 Format an R:eitherF (Right 1) "<Right>: 1"7Take the first N characters:prefixF 3 "hello""hel"8Take the last N characters:suffixF 3 "hello""llo"9 padLeftF n c pads the string with character c% from the left side until it becomes nR characters wide (and does nothing if the string is already that long, or longer):padLeftF 5 '0' 12"00012"padLeftF 5 '0' 123456"123456": padRightF n c pads the string with character c& from the right side until it becomes nR characters wide (and does nothing if the string is already that long, or longer):padRightF 5 ' ' "foo""foo "padRightF 5 ' ' "foobar""foobar"; padBothF n c pads the string with character c" from both sides until it becomes nR characters wide (and does nothing if the string is already that long, or longer):padBothF 5 '=' "foo""=foo="padBothF 5 '=' "foobar""foobar"FWhen padding can't be distributed equally, the left side is preferred:padBoth 8 '=' "foo" "===foo=="<"Add an ordinal suffix to a number: ordinalF 15"15th" ordinalF 22"22nd"=Break digits in a number:commaizeF 15830000 "15,830,000">Format a number as octal:listF' octF [7,8,9,10]"[7, 10, 11, 12]"?Format a number as binary:listF' binF [7,8,9,10]"[111, 1000, 1001, 1010]"@-Format a number in arbitrary base (up to 36): baseF 3 10000 "111201101" baseF 7 10000"41104"baseF 36 10000"7ps"AFormat a floating-point number: floatF 3.1415"3.1415"ZNumbers bigger than 1e21 or smaller than 1e-6 will be displayed using scientific notation:listF' floatF [1e-6,9e-7]"[0.000001, 9e-7]"listF' floatF [9e20,1e21]"[900000000000000000000, 1e21]"BYFormat a floating-point number using scientific notation, with given amount of precision:listF' (exptF 5) [pi,0.1,10]$"[3.14159e0, 1.00000e-1, 1.00000e1]"C>Format a floating-point number with given amount of precision.PFor small numbers, it uses scientific notation for everything smaller than 1e-6: !listF' (precF 3) [1e-5,1e-6,1e-7]""[0.0000100, 0.00000100, 1.00e-7]"hFor large numbers, it uses scientific notation for everything larger than 1eN, where N is the precision: listF' (precF 4) [1e3,5e3,1e4]"[1000, 5000, 1.000e4]"D;Format a floating-point number without scientific notation:listF' (fixedF 5) [pi,0.1,10]"[3.14159, 0.10000, 10.00000]"E+Display something only if the condition is S (empty string otherwise). 1>>> "Hello!" <> whenF showDetails (", details: "% foobar%"") Note that it can only take a / (because otherwise it would be unusable with (-)-formatted strings which can resolve to any   ). Thus, use % if you need just one value: >>> "Maybe here's a number: "% whenF cond (fmt n)%"" F+Display something only if the condition is T (empty string otherwise).GIndent already formatted text.:fmt $ "This is a list:\n" <> indent 4 (blockListF [1,2,3])This is a list: - 1 - 2 - 3GThe output will always end with a newline, even when the input doesn't.6U !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMN6 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFG6 "!#$%&G'()*+,-./0123456789:;<=>?@ABCDEF5U !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMN11111 1!1"1V      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYWXZWX[W\]^_`^_abc"fmt-0.0.0.4-BWXJxN67UzRJvf4zCvygKfFmt Fmt.Internal#text-1.2.2.1-9Yh8rJoh8fO2JMLWffT3QsData.Text.Internal.BuilderBuilder*text-format-0.3.1.1-9pUcux7N0OW6bXsl3OJ5gEData.Text.Buildablebuild BuildableData.Text.Format.Types.InternalFormatFormatAsBase64base64F base64UrlF FormatAsHexhexF FromBuilder fromBuildergroupIntatBase showSigned' intToDigit'indent'$fFormatAsBase64ByteString$fFormatAsBase64ByteString0$fFormatAsHexa$fFormatAsHexByteString$fFormatAsHexByteString0$fFromBuilderIO$fFromBuilderText$fFromBuilderText0$fFromBuilder[]$fFromBuilderBuildertupleF%<>%>%%<%<<>>%>>%%<<>>%%<>%%<<formatformatLnfmtfmtLnnameFlistFlistF' blockListF blockListF' jsonListF jsonListF'mapFmapF' blockMapF blockMapF'jsonMapF jsonMapF' tupleLikeFmaybeFeitherFprefixFsuffixFpadLeftF padRightFpadBothFordinalF commaizeFoctFbinFbaseFfloatFexptFprecFfixedFwhenFunlessFindent$fTupleF(,,,,,,,)$fTupleF(,,,,,,)$fTupleF(,,,,,)$fTupleF(,,,,) $fTupleF(,,,) $fTupleF(,,) $fTupleF(,)baseGHC.BaseStringMaybeNothing Data.EitherEitherghc-prim GHC.TypesTrueFalseTupleF