Changelog for fmt-0.1.0.0
0.1.0.0
-
Added
genericF
for formatting arbitrary data. -
Changed
%<
and>%
to#|
and|#
because they turn out to be easier to type. -
Added a migration guide from
formatting
. -
Changed output of
eitherF
. -
Added bechmarks.
0.0.0.4
-
Added
format
fromtext-format
, because in some cases it's nicer than brackets. -
Renamed
padCenterF
topadBothF
. -
Modified
indent
andindent'
to always add newlines.
0.0.0.3
-
Wrote documentation.
-
Added some formatters:
indent
- formatters for lists, maps and tuples (
listF
, etc) octF
,binF
,baseF
and floating-point formattershexF
which works on both numbers and bytestringsordinalF
andcommaizeF
- padding and trimming formatters
base64F
andbase64UrlF
- conditionals (
whenF
andunlessF
)
-
Merged
Fmt.IO
withFmt
because orphan instances are controversial. -
Exported internal classes and functions from
Fmt.Internal
. -
Added
fmt
andfmtLn
. -
Made all operators associate to the right (
Builder
documentation says it's faster than the opposite). -
Reexported
Buildable
andBuilder
.
0.0.0.2
-
Added
>%%<
so that it'd be possible to write%<a>%%<b>%
instead of weird%<a%<b>%
. -
Added
%<< ... >>%
, which work workShow
instead ofBuildable
. If you don't care about speed and just want to output something, use them. -
Added an
IO ()
instance inFmt.IO
. If you import that module, raw formatted strings would print themselves. -
Added tests.
-
Changed fixities of operators so that
%<n+1>%
would work. -
Changed license to BSD3 since all our dependencies are BSD3 and we can't use MIT.
0.0.0.1
First (completely experimental) release.