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

Convert display functions into Pretty instances #10526

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

9999years
Copy link
Collaborator

We have a lot of showType functions that are effectively a Pretty instance but less composable. Let's make them proper Pretty instances.

Split off of #10524

  • Patches conform to the coding conventions.
  • Is this a PR that fixes CI? If so, it will need to be backported to older cabal release branches (ask maintainers for directions).

@9999years 9999years marked this pull request as ready for review November 5, 2024 17:41
@9999years 9999years closed this Dec 9, 2024
@9999years 9999years deleted the pretty-pretty branch December 9, 2024 17:33
@grayjay
Copy link
Collaborator

grayjay commented Dec 10, 2024

@9999years Why did you close this PR? I liked that it reduced the size of #10524, and I thought that it was a great cleanup on its own.

@9999years
Copy link
Collaborator Author

@grayjay Oh okay, I thought it wasn't significant enough to be worth the effort, but i can fix it up.

@9999years 9999years restored the pretty-pretty branch December 10, 2024 17:26
@9999years 9999years reopened this Dec 10, 2024
@9999years 9999years force-pushed the pretty-pretty branch 2 times, most recently from fa7fa8b to 9f199e7 Compare December 10, 2024 17:46
Copy link
Collaborator

@grayjay grayjay left a comment

Choose a reason for hiding this comment

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

Thanks!

@9999years 9999years added the merge me Tell Mergify Bot to merge label Dec 10, 2024
@mergify mergify bot added ready and waiting Mergify is waiting out the cooldown period merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days labels Dec 11, 2024
Copy link
Contributor

mergify bot commented Dec 13, 2024

This pull request has been removed from the queue for the following reason: pull request branch update failed.

The pull request can't be updated.

You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it.

If you want to requeue this pull request, you need to post a comment with the text: @mergifyio requeue

@geekosaur
Copy link
Collaborator

Needs manual rebase and merge+no rebase (branch is MercuryTechnologies:pretty-pretty)

We have a lot of `showType` functions that are effectively a `Pretty`
instance but less composable. Let's make them proper `Pretty` instances.

Split off of haskell#10524
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cabal-install: solver merge delay passed Applied (usually by Mergify) when PR approved and received no updates for 2 days merge me Tell Mergify Bot to merge merge+no rebase ready and waiting Mergify is waiting out the cooldown period
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants