Skip to content

NFData instance for DecoderError#673

Open
dancewithheart wants to merge 1 commit into
IntersectMBO:masterfrom
dancewithheart:NFData_DecoderError
Open

NFData instance for DecoderError#673
dancewithheart wants to merge 1 commit into
IntersectMBO:masterfrom
dancewithheart:NFData_DecoderError

Conversation

@dancewithheart

Copy link
Copy Markdown
Contributor

Fixes #643

Description

  • add NFData instance for DecoderError
  • use it in assertIsLeft to force decode into normal form.

Tested with:

cabal build cardano-binary
cabal test cardano-binary

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated
  • 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)
  • 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)
  • Self-reviewed the diff

@dancewithheart dancewithheart requested review from a team and lehins as code owners June 25, 2026 18:25
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.

Add NFData for DecoderError

1 participant