Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release blaze-html with a blaze-markup >= 0.8.3 lower bound #142

Open
andreasabel opened this issue Sep 26, 2023 · 1 comment
Open

Release blaze-html with a blaze-markup >= 0.8.3 lower bound #142

andreasabel opened this issue Sep 26, 2023 · 1 comment

Comments

@andreasabel
Copy link
Contributor

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:

@andreasabel
Copy link
Contributor Author

andreasabel commented Sep 26, 2023

My workaround is to add a redundant import Text.Blaze (), which does not trigger the unused-imports warning but pacifies the unused-packages warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant