-
Notifications
You must be signed in to change notification settings - Fork 697
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
Conversation
cabal-install-solver/src/Distribution/Solver/Types/ConstraintSource.hs
Outdated
Show resolved
Hide resolved
cabal-install-solver/src/Distribution/Solver/Types/ConstraintSource.hs
Outdated
Show resolved
Hide resolved
cabal-install-solver/src/Distribution/Solver/Types/PackageConstraint.hs
Outdated
Show resolved
Hide resolved
@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. |
@grayjay Oh okay, I thought it wasn't significant enough to be worth the effort, but i can fix it up. |
fa7fa8b
to
9f199e7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This pull request has been removed from the queue for the following reason: 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: |
Needs manual rebase and |
9f199e7
to
e20c10c
Compare
Hm. RTD build failed oddly. Can you update this again, since RTD builds aren't under GHA control and RTD itself provides no restart mechanism? |
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
e20c10c
to
d2bb924
Compare
😱 |
Yeh, we've run into this a few times before, RTD burps and you have to push some meaningless update to make it run again. |
This pull request has been removed from the queue for the following reason: Pull request #10526 has been dequeued. Pull request automatically merged by a 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: |
…wha? |
I must admit: it is pretty funny 😁 |
We have a lot of
showType
functions that are effectively aPretty
instance but less composable. Let's make them properPretty
instances.Split off of #10524