blaze-html
blaze-html copied to clipboard
Release `blaze-html` with a `blaze-markup >= 0.8.3` lower bound
blaze-markup-0.8.3 added a ToMarkup instance for non-empty strings.
To be able to use toHtml on non-empty strings with blaze-html I need to explicitly depend on blaze-markup >= 0.8.3.
Sadly, GHC complains about an unused package if I do not use anything from blaze-markup directly (but just use it via blaze-html):
<no location info>: error: [GHC-42258] [-Wunused-packages, Werror=unused-packages]
The following packages were specified via -package or -package-id flags,
but were not needed for compilation:
- blaze-markup-0.8.3.0
A cure for this would be to release blaze-html with a raised lower bound on blaze-markup, so I could just bump my blaze-html bound.
Ref:
- https://github.com/jaspervdj/blaze-markup/issues/63
My workaround is to add a redundant import Text.Blaze (), which does not trigger the unused-imports warning but pacifies the unused-packages warning.
- https://github.com/agda/agda/pull/6883