[#800] Replace fmt with prettyprinter
Description
-
Add
Fmt
tomorley-prelude
I thought about splitting it into its own library, but that seems like more trouble than it's worth.
This
Fmt
is implemented on top ofPrettyprinter
and is essentially an API compatibility layer. But it differs fromprettyprinter
in some important ways, primarily in how it handles newlines. -
Remove and/or deprecate things obsoleted by the change
-
Remove redundant
RenderDoc
instances.There are quite a few
RenderDoc
instances whose only purpose is to be used ininstance Buildable X where build = buildRenderDoc
. SinceBuildable
now also producesDoc
, it makes a lot of sense to writeBuildable
directly and drop the middleware. -
Chore: Turns out,
Prettier
doesn't do anything since 3743d6ae, so deprecate it.
Related issue(s)
Resolves #800 (closed)
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.