Skip to content

Add TreeDiff utilities to cardano-binary testlib#638

Open
MavenRain wants to merge 1 commit intoIntersectMBO:masterfrom
MavenRain:oobi/move-treediff-utils-to-cardano-binary-testlib
Open

Add TreeDiff utilities to cardano-binary testlib#638
MavenRain wants to merge 1 commit intoIntersectMBO:masterfrom
MavenRain:oobi/move-treediff-utils-to-cardano-binary-testlib

Conversation

@MavenRain
Copy link
Copy Markdown

@MavenRain MavenRain commented Apr 1, 2026

Toward #5360 (Part 1)

@MavenRain MavenRain requested review from a team and lehins as code owners April 1, 2026 04:06
@lehins
Copy link
Copy Markdown
Collaborator

lehins commented Apr 1, 2026

Did you mean IntersectMBO/cardano-ledger#5360?

@MavenRain
Copy link
Copy Markdown
Author

IntersectMBO/cardano-ledger#5360

Yes I did. My apologies. I'll correct the description.

srcLocToLocation,
) where

import qualified Cardano.Binary as Plain
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

There is no versioned decoder in cardano-base, so it makes sense to remove sense to remove qualified import as Plain

Suggested change
import qualified Cardano.Binary as Plain
import Cardano.Binary

Comment on lines +33 to +49
-- * Re-exports from tree-diff
Expr (App, Rec, Lst),
defaultExprViaShow,
ediff,
ppEditExpr,

-- * Re-exports from prettyprinter
Pretty (..),
Doc,
AnsiStyle,
ansiWlPretty,

-- * Re-exports from ImpSpec
ansiDocToString,
assertColorFailure,
callStackToLocation,
srcLocToLocation,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We should not be re-exporting stuff from other libraries.

Suggested change
-- * Re-exports from tree-diff
Expr (App, Rec, Lst),
defaultExprViaShow,
ediff,
ppEditExpr,
-- * Re-exports from prettyprinter
Pretty (..),
Doc,
AnsiStyle,
ansiWlPretty,
-- * Re-exports from ImpSpec
ansiDocToString,
assertColorFailure,
callStackToLocation,
srcLocToLocation,

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.

2 participants