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 NoImplicitPrelude #4857

Merged
merged 7 commits into from
Feb 13, 2023

Conversation

newhoggy
Copy link
Contributor

@newhoggy newhoggy commented Jan 30, 2023

Remove from NoImplicitPrelude from cardano-api cardano-submit-api cardano-cli cardano-testnet cardano-node-chairman cardano-node and cardano-git-rev.
Remove dependency on cardano-prelude wherever possible.

Removed imported of Cardano.Prelude where possible (excluding bench). Remaining occurrences are those that are still required:

  • canonicalDecodePretty
  • canonicalEncodePretty
  • cborError
  • ConvertText (..)
  • FatalError (..)
  • maximumDef

@newhoggy newhoggy changed the title Remove dependency on cardano prelude Remove NoImplicitPrelude Jan 30, 2023
@newhoggy newhoggy force-pushed the newhoggy/remove-dependency-on-cardano-prelude branch from d60aa4d to 55bc0e2 Compare January 30, 2023 06:23
@newhoggy newhoggy marked this pull request as ready for review January 30, 2023 06:25
@newhoggy newhoggy force-pushed the newhoggy/remove-dependency-on-cardano-prelude branch 3 times, most recently from 64e7a75 to c341574 Compare February 5, 2023 07:02
@newhoggy newhoggy force-pushed the newhoggy/remove-dependency-on-cardano-prelude branch from c341574 to d4a0b1e Compare February 6, 2023 08:19
Copy link
Contributor

@Jimbo4350 Jimbo4350 left a comment

Choose a reason for hiding this comment

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

LGTM, a couple of comments

cardano-cli/src/Cardano/CLI/Shelley/Run.hs Outdated Show resolved Hide resolved
cardano-cli/src/Cardano/CLI/Shelley/Run/Address.hs Outdated Show resolved Hide resolved
cardano-cli/src/Cardano/CLI/Shelley/Run/Key.hs Outdated Show resolved Hide resolved
@newhoggy newhoggy force-pushed the newhoggy/remove-dependency-on-cardano-prelude branch 8 times, most recently from 8258d22 to c742dfc Compare February 7, 2023 15:04
@newhoggy
Copy link
Contributor Author

newhoggy commented Feb 8, 2023

bors r+

iohk-bors bot added a commit that referenced this pull request Feb 8, 2023
4857: Remove NoImplicitPrelude r=newhoggy a=newhoggy

Remove from `NoImplicitPrelude` from `cardano-api` `cardano-submit-api` `cardano-cli` `cardano-testnet` `cardano-node-chairman` `cardano-node` and `cardano-git-rev`.
Remove dependency on `cardano-prelude` wherever possible.

Removed imported of `Cardano.Prelude` where possible (excluding `bench`).  Remaining occurrences are those that are still required:

* `canonicalDecodePretty`
* `canonicalEncodePretty`
* `cborError`
* `ConvertText (..)`
* `FatalError (..)`
* `maximumDef`

Co-authored-by: John Ky <john.ky@iohk.io>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Feb 8, 2023

Build failed:

@newhoggy newhoggy force-pushed the newhoggy/remove-dependency-on-cardano-prelude branch from c742dfc to 88e6501 Compare February 10, 2023 04:38
@newhoggy
Copy link
Contributor Author

bors r+

iohk-bors bot added a commit that referenced this pull request Feb 11, 2023
4857: Remove NoImplicitPrelude r=newhoggy a=newhoggy

Remove from `NoImplicitPrelude` from `cardano-api` `cardano-submit-api` `cardano-cli` `cardano-testnet` `cardano-node-chairman` `cardano-node` and `cardano-git-rev`.
Remove dependency on `cardano-prelude` wherever possible.

Removed imported of `Cardano.Prelude` where possible (excluding `bench`).  Remaining occurrences are those that are still required:

* `canonicalDecodePretty`
* `canonicalEncodePretty`
* `cborError`
* `ConvertText (..)`
* `FatalError (..)`
* `maximumDef`

Co-authored-by: John Ky <john.ky@iohk.io>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Feb 11, 2023

Build failed:

@newhoggy newhoggy force-pushed the newhoggy/remove-dependency-on-cardano-prelude branch from 88e6501 to e33f1f5 Compare February 12, 2023 05:33
@newhoggy
Copy link
Contributor Author

bors r+

iohk-bors bot added a commit that referenced this pull request Feb 12, 2023
4857: Remove NoImplicitPrelude r=newhoggy a=newhoggy

Remove from `NoImplicitPrelude` from `cardano-api` `cardano-submit-api` `cardano-cli` `cardano-testnet` `cardano-node-chairman` `cardano-node` and `cardano-git-rev`.
Remove dependency on `cardano-prelude` wherever possible.

Removed imported of `Cardano.Prelude` where possible (excluding `bench`).  Remaining occurrences are those that are still required:

* `canonicalDecodePretty`
* `canonicalEncodePretty`
* `cborError`
* `ConvertText (..)`
* `FatalError (..)`
* `maximumDef`

Co-authored-by: John Ky <john.ky@iohk.io>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Feb 12, 2023

Build failed:

@newhoggy newhoggy force-pushed the newhoggy/remove-dependency-on-cardano-prelude branch from 828de77 to 4d46764 Compare February 12, 2023 20:08
@newhoggy
Copy link
Contributor Author

bors r+

iohk-bors bot added a commit that referenced this pull request Feb 12, 2023
4857: Remove NoImplicitPrelude r=newhoggy a=newhoggy

Remove from `NoImplicitPrelude` from `cardano-api` `cardano-submit-api` `cardano-cli` `cardano-testnet` `cardano-node-chairman` `cardano-node` and `cardano-git-rev`.
Remove dependency on `cardano-prelude` wherever possible.

Removed imported of `Cardano.Prelude` where possible (excluding `bench`).  Remaining occurrences are those that are still required:

* `canonicalDecodePretty`
* `canonicalEncodePretty`
* `cborError`
* `ConvertText (..)`
* `FatalError (..)`
* `maximumDef`

Co-authored-by: John Ky <john.ky@iohk.io>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Feb 12, 2023

Timed out.

@newhoggy
Copy link
Contributor Author

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Feb 13, 2023

Build succeeded:

@iohk-bors iohk-bors bot merged commit 7074c45 into master Feb 13, 2023
@iohk-bors iohk-bors bot deleted the newhoggy/remove-dependency-on-cardano-prelude branch February 13, 2023 01:17
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