Changelog for fmt-0.0.0.4
0.0.0.4
-
Added
formatfromtext-format, because in some cases it's nicer than brackets. -
Renamed
padCenterFtopadBothF. -
Modified
indentandindent'to always add newlines.
0.0.0.3
-
Wrote documentation.
-
Added some formatters:
indent- formatters for lists, maps and tuples (
listF, etc) octF,binF,baseFand floating-point formattershexFwhich works on both numbers and bytestringsordinalFandcommaizeF- padding and trimming formatters
base64Fandbase64UrlF- conditionals (
whenFandunlessF)
-
Merged
Fmt.IOwithFmtbecause orphan instances are controversial. -
Exported internal classes and functions from
Fmt.Internal. -
Added
fmtandfmtLn. -
Made all operators associate to the right (
Builderdocumentation says it's faster than the opposite). -
Reexported
BuildableandBuilder.
0.0.0.2
-
Added
>%%<so that it'd be possible to write%<a>%%<b>%instead of weird%<a%<b>%. -
Added
%<< ... >>%, which work workShowinstead 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.