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

Implement a deriving mechanism for PrettyCooked #439

Open
florentc opened this issue Jul 19, 2024 · 0 comments
Open

Implement a deriving mechanism for PrettyCooked #439

florentc opened this issue Jul 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@florentc
Copy link
Member

florentc commented Jul 19, 2024

It is quite cumbersome to implement PrettyCooked instances manually. I think it would be nice to implement a deriving mechanism for PrettyCooked. When we implement those by hand, we already do it in a very deterministic and algorithmic way (using prettyItemize for product types fields and list headers for constructors). There are already a lot of PrettyCooked instances for basic haskell and cardano types.

@florentc florentc added the enhancement New feature or request label Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant