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

Remove generic-monoid dependency #3880

Merged
merged 2 commits into from
Nov 20, 2023
Merged

Remove generic-monoid dependency #3880

merged 2 commits into from
Nov 20, 2023

Conversation

erikd
Copy link
Contributor

@erikd erikd commented Nov 17, 2023

Description

This package on Hackage has no githib (or similar) repository listed, has no contact email address and does not build with ghc-9.8.

Its only used for a single two element sum type for which a hand written Monoid and Semigroup instances is trivial.

Fixes #3879

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated
  • When applicable, versions are updated in .cabal and CHANGELOG.md files according to the
    versioning process.
  • The version bounds in .cabal files for all affected packages are updated. If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)
  • All visible changes are prepended to the latest section of a CHANGELOG.md for the affected packages. New section is never added with the code changes. (See RELEASING.md)
  • Code is formatted with fourmolu (use scripts/fourmolize.sh)
  • Cabal files are formatted (use scripts/cabal-format.sh)
  • hie.yaml has been updated (use scripts/gen-hie.sh)
  • Self-reviewed the diff

@erikd
Copy link
Contributor Author

erikd commented Nov 17, 2023

The Nix/CI failure seems to be due to a missing cddl executable.

Copy link
Collaborator

@lehins lehins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for reducing number of dependencies! Much appreciated!

This package on Hackage has no githib (or similar) repository listed,
has no contact email address and does not build with ghc-9.8.

Its only used for a single two element sum type for which hand
written Monoid and Semigroup instances are trivial.
@erikd erikd force-pushed the erikd/generic-monoid branch from 472fc55 to b9e02d1 Compare November 18, 2023 03:33
@erikd erikd force-pushed the erikd/generic-monoid branch from b9e02d1 to bee4092 Compare November 18, 2023 05:59
@erikd
Copy link
Contributor Author

erikd commented Nov 19, 2023

@lehins Can this be merged as it is or must the Nix/CI failures be fixed?

@lehins lehins merged commit 4091022 into master Nov 20, 2023
@iohk-bors iohk-bors bot deleted the erikd/generic-monoid branch November 20, 2023 12:41
@lehins
Copy link
Collaborator

lehins commented Nov 20, 2023

is or must the Nix/CI failures be fixed?

Nope it is not a must. Thank you!

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

Successfully merging this pull request may close these issues.

cardano-ledger: Remove generic-monoid dependency
2 participants