Nice formatting library
text-format, because in some cases it's nicer than brackets.
indent'to always add newlines.
Added some formatters:
- formatters for lists, maps and tuples (
baseFand floating-point formatters
hexFwhich works on both numbers and bytestrings
- padding and trimming formatters
- conditionals (
Fmtbecause orphan instances are controversial.
Exported internal classes and functions from
Made all operators associate to the right (
Builderdocumentation says it's faster than the opposite).
>%%<so that it'd be possible to write
%<a>%%<b>%instead of weird
%<< ... >>%, which work work
Buildable. If you don't care about speed and just want to output something, use them.
IO ()instance in
Fmt.IO. If you import that module, raw formatted strings would print themselves.
Changed fixities of operators so that
Changed license to BSD3 since all our dependencies are BSD3 and we can't use MIT.
First (completely experimental) release.