| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:ac801c53-21b1-f470-c15a-8a199459bfe9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CD2A:3B3600:1AD19B0:248328F:6AFB8DE5 |
| html-safe-nonce | 1f79a5c9462b7a97c221f22d171a70d8cd65202af5791aabaf80776759f9ae17 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDJBOjNCMzYwMDoxQUQxOUIwOjI0ODMyOEY6NkFGQjhERTUiLCJ2aXNpdG9yX2lkIjoiODMzODA4MzA1MzQ3MDcxNDYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4e3b7cf71cfa83cda26fb4b54b1375ad9efcb2a164bf7d401642e1d7644c4992 |
| hovercard-subject-tag | pull_request:3487666192 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/purescript/purescript/4592/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/42d8a3c97a2c78270fc010cd02d05dfa48a98c52c25c42f5cdf12acae5fc8138/purescript/purescript/pull/4592 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/42d8a3c97a2c78270fc010cd02d05dfa48a98c52c25c42f5cdf12acae5fc8138/purescript/purescript/pull/4592 |
| og:image:alt | Note: This PR was developed with AI assistance (Claude). If the approach or scope isn't welcome, feel free to close.
What this enables
Derive clauses can now be written directly on type decla... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | i-am-the-slime |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9694464143465782ecae2a97650b2a2b0708d5c31c74f41ee86da57e315e2735 |
| turbo-cache-control | no-cache |
| go-import | github.com/purescript/purescript git https://github.com/purescript/purescript.git |
| octolytics-dimension-user_id | 6556677 |
| octolytics-dimension-user_login | purescript |
| octolytics-dimension-repository_id | 13206906 |
| octolytics-dimension-repository_nwo | purescript/purescript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13206906 |
| octolytics-dimension-repository_network_root_nwo | purescript/purescript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 05d967182208691fc7f2e6af52e82fa7fabf6bd5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/purescript/purescript/pull/4592#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript%2Fpurescript%2Fpull%2F4592 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript%2Fpurescript%2Fpull%2F4592 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=purescript%2Fpurescript |
| Reload | https://github.com/purescript/purescript/pull/4592 |
| Reload | https://github.com/purescript/purescript/pull/4592 |
| Reload | https://github.com/purescript/purescript/pull/4592 |
| purescript | https://github.com/purescript |
| purescript | https://github.com/purescript/purescript |
| Code | https://github.com/purescript/purescript |
| Issues280 (280) | https://github.com/purescript/purescript/issues |
| Pull requests27 (27) | https://github.com/purescript/purescript/pulls |
| Actions | https://github.com/purescript/purescript/actions |
| Projects | https://github.com/purescript/purescript/projects |
| Wiki | https://github.com/purescript/purescript/wiki |
| Security and quality | https://github.com/purescript/purescript/security |
| Insights | https://github.com/purescript/purescript/pulse |
| https://github.com/purescript/purescript |
| i-am-the-slime | https://github.com/i-am-the-slime |
| purescript:master | https://github.com/purescript/purescript/tree/master |
| i-am-the-slime:attached-deriving-clauses | https://github.com/i-am-the-slime/purescript/tree/attached-deriving-clauses |
| Conversation | https://github.com/purescript/purescript/pull/4592 |
| Commits1 (1) | https://github.com/purescript/purescript/pull/4592/commits |
| Checks | https://github.com/purescript/purescript/pull/4592/checks |
| Files changed | https://github.com/purescript/purescript/pull/4592/files |
| Add derive clauses to data and newtype declarations | https://github.com/purescript/purescript/pull/4592#top |
| i-am-the-slime | https://github.com/i-am-the-slime |
| purescript:master | https://github.com/purescript/purescript/tree/master |
| i-am-the-slime:attached-deriving-clauses | https://github.com/i-am-the-slime/purescript/tree/attached-deriving-clauses |
|
| https://github.com/i-am-the-slime |
| i-am-the-slime | https://github.com/i-am-the-slime |
| Apr 3, 2026 | https://github.com/purescript/purescript/pull/4592#issue-4202381736 |
| Please reload this page | https://github.com/purescript/purescript/pull/4592 |
| #3426 | https://github.com/purescript/purescript/issues/3426 |
| #1891 | https://github.com/purescript/purescript/issues/1891 |
| #3426 | https://github.com/purescript/purescript/issues/3426 |
| @kl0tl | https://github.com/kl0tl |
| #3824 | https://github.com/purescript/purescript/pull/3824 |
| #3824 | https://github.com/purescript/purescript/pull/3824 |
| #3824 | https://github.com/purescript/purescript/pull/3824 |
| #3426 | https://github.com/purescript/purescript/issues/3426 |
| Please reload this page | https://github.com/purescript/purescript/pull/4592 |
| https://github.com/i-am-the-slime |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript%2Fpurescript%2Fpull%2F4592 |
| Please reload this page | https://github.com/purescript/purescript/pull/4592 |
| https://github.com/i-am-the-slime |
| i-am-the-slime | https://github.com/i-am-the-slime |
| force-pushed | https://github.com/purescript/purescript/compare/8bb71809d6631c8270cf76e6b963cca51889e8c7..04c68eecbff470eb3b4c34ab1214d777656b1707 |
| 8bb7180 | https://github.com/purescript/purescript/commit/8bb71809d6631c8270cf76e6b963cca51889e8c7 |
| 04c68ee | https://github.com/purescript/purescript/commit/04c68eecbff470eb3b4c34ab1214d777656b1707 |
|
Compare
| https://github.com/purescript/purescript/compare/8bb71809d6631c8270cf76e6b963cca51889e8c7..04c68eecbff470eb3b4c34ab1214d777656b1707 |
| April 3, 2026 22:34 | https://github.com/purescript/purescript/pull/4592#event-24187340273 |
|
Add attached derive clause support
natefaubion/purescript-language-cst-parser#66
| https://github.com/natefaubion/purescript-language-cst-parser/pull/66 |
|
Add attached derive clause formatting
natefaubion/purescript-tidy#134
| https://github.com/natefaubion/purescript-tidy/pull/134 |
|
Add attached derive clause syntax support
postsolar/tree-sitter-purescript#32
| https://github.com/postsolar/tree-sitter-purescript/pull/32 |
|
Add attached derive clause syntax highlighting
purescript-contrib/atom-language-purescript#68
| https://github.com/purescript-contrib/atom-language-purescript/pull/68 |
| https://github.com/i-am-the-slime |
| i-am-the-slime | https://github.com/i-am-the-slime |
| force-pushed | https://github.com/purescript/purescript/compare/7568d53b135c6bc0e975ffb90baa12413b3bf67c..acb5ae45fe5505a21ba15734af5c6a57c40fc034 |
| 7568d53 | https://github.com/purescript/purescript/commit/7568d53b135c6bc0e975ffb90baa12413b3bf67c |
| acb5ae4 | https://github.com/purescript/purescript/commit/acb5ae45fe5505a21ba15734af5c6a57c40fc034 |
|
Compare
| https://github.com/purescript/purescript/compare/7568d53b135c6bc0e975ffb90baa12413b3bf67c..acb5ae45fe5505a21ba15734af5c6a57c40fc034 |
| April 4, 2026 07:50 | https://github.com/purescript/purescript/pull/4592#event-24194567710 |
| https://github.com/i-am-the-slime |
| i-am-the-slime | https://github.com/i-am-the-slime |
| April 4, 2026 09:21 | https://github.com/purescript/purescript/pull/4592#event-24195256935 |
| https://github.com/afcondon |
| afcondon | https://github.com/afcondon |
| Apr 4, 2026 | https://github.com/purescript/purescript/pull/4592#issuecomment-4186838094 |
| Please reload this page | https://github.com/purescript/purescript/pull/4592 |
| https://github.com/i-am-the-slime |
| i-am-the-slime | https://github.com/i-am-the-slime |
| force-pushed | https://github.com/purescript/purescript/compare/acb5ae45fe5505a21ba15734af5c6a57c40fc034..4cd20df5d9012e22ade3a611cabad34803c522dd |
| acb5ae4 | https://github.com/purescript/purescript/commit/acb5ae45fe5505a21ba15734af5c6a57c40fc034 |
| 4cd20df | https://github.com/purescript/purescript/commit/4cd20df5d9012e22ade3a611cabad34803c522dd |
|
Compare
| https://github.com/purescript/purescript/compare/acb5ae45fe5505a21ba15734af5c6a57c40fc034..4cd20df5d9012e22ade3a611cabad34803c522dd |
| April 4, 2026 14:41 | https://github.com/purescript/purescript/pull/4592#event-24197389588 |
| https://github.com/i-am-the-slime |
| i-am-the-slime | https://github.com/i-am-the-slime |
| April 4, 2026 14:57 | https://github.com/purescript/purescript/pull/4592#event-24197515514 |
| https://github.com/i-am-the-slime |
| i-am-the-slime | https://github.com/i-am-the-slime |
| force-pushed | https://github.com/purescript/purescript/compare/4cd20df5d9012e22ade3a611cabad34803c522dd..30b21c5403e83666054a3ad06dafd5b14a7d3338 |
| 4cd20df | https://github.com/purescript/purescript/commit/4cd20df5d9012e22ade3a611cabad34803c522dd |
| 30b21c5 | https://github.com/purescript/purescript/commit/30b21c5403e83666054a3ad06dafd5b14a7d3338 |
|
Compare
| https://github.com/purescript/purescript/compare/4cd20df5d9012e22ade3a611cabad34803c522dd..30b21c5403e83666054a3ad06dafd5b14a7d3338 |
| April 4, 2026 15:04 | https://github.com/purescript/purescript/pull/4592#event-24197570157 |
| https://github.com/i-am-the-slime |
| i-am-the-slime | https://github.com/i-am-the-slime |
| April 4, 2026 16:35 | https://github.com/purescript/purescript/pull/4592#event-24198299927 |
| https://github.com/i-am-the-slime |
| i-am-the-slime | https://github.com/i-am-the-slime |
| force-pushed | https://github.com/purescript/purescript/compare/30b21c5403e83666054a3ad06dafd5b14a7d3338..7704963b9bbb006cc0ea449bb2fa3c50c3eca806 |
| 30b21c5 | https://github.com/purescript/purescript/commit/30b21c5403e83666054a3ad06dafd5b14a7d3338 |
| 7704963 | https://github.com/purescript/purescript/commit/7704963b9bbb006cc0ea449bb2fa3c50c3eca806 |
|
Compare
| https://github.com/purescript/purescript/compare/30b21c5403e83666054a3ad06dafd5b14a7d3338..7704963b9bbb006cc0ea449bb2fa3c50c3eca806 |
| April 4, 2026 16:57 | https://github.com/purescript/purescript/pull/4592#event-24198486394 |
| https://github.com/i-am-the-slime |
| i-am-the-slime | https://github.com/i-am-the-slime |
|
Apr 4, 2026
| https://github.com/purescript/purescript/pull/4592#pullrequestreview-4058668550 |
|
View reviewed changes
| https://github.com/purescript/purescript/pull/4592/files |
| i-am-the-slime | https://github.com/i-am-the-slime |
| https://github.com/purescript/purescript/pull/4592#pullrequestreview-4058668550 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/purescript/purescript/pull/4592 |
| src/Language/PureScript/Sugar/TypeClasses/Deriving.hs | https://github.com/purescript/purescript/pull/4592/files#diff-b2c45abe2b96a6ae2e0da4d769b691e5bc4ee0e1d86e46d9b973df822d10a698 |
| i-am-the-slime | https://github.com/i-am-the-slime |
| Apr 4, 2026 | https://github.com/purescript/purescript/pull/4592#discussion_r3035799132 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/purescript/purescript/pull/4592 |
| src/Language/PureScript/TypeChecker/Deriving.hs | https://github.com/purescript/purescript/pull/4592/files#diff-c5f9e9c1c97b5500955eca984f11938f3d4f33ec563fb7f01d5c42af3fa34a87 |
| i-am-the-slime | https://github.com/i-am-the-slime |
| Apr 4, 2026 | https://github.com/purescript/purescript/pull/4592#discussion_r3035799136 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/purescript/purescript/pull/4592 |
| src/Language/PureScript/TypeChecker.hs | https://github.com/purescript/purescript/pull/4592/files#diff-face7661808c8804ee47e10a0fd05d5ffc7ddebbef1acccffb5463633e08ae7f |
| i-am-the-slime | https://github.com/i-am-the-slime |
| Apr 4, 2026 | https://github.com/purescript/purescript/pull/4592#discussion_r3035799137 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/purescript/purescript/pull/4592 |
| https://github.com/i-am-the-slime |
| i-am-the-slime | https://github.com/i-am-the-slime |
| force-pushed | https://github.com/purescript/purescript/compare/e4eee7132ebb29ec0cbd0a4ee14a88babd3a093d..92354553ff37bc08cfbf6097eb244d14f5c4ebe7 |
| e4eee71 | https://github.com/purescript/purescript/commit/e4eee7132ebb29ec0cbd0a4ee14a88babd3a093d |
| 9235455 | https://github.com/purescript/purescript/commit/92354553ff37bc08cfbf6097eb244d14f5c4ebe7 |
|
Compare
| https://github.com/purescript/purescript/compare/e4eee7132ebb29ec0cbd0a4ee14a88babd3a093d..92354553ff37bc08cfbf6097eb244d14f5c4ebe7 |
| April 4, 2026 18:16 | https://github.com/purescript/purescript/pull/4592#event-24199130728 |
|
| https://github.com/i-am-the-slime |
| Add attached deriving clauses to data and newtype declarations | https://github.com/purescript/purescript/pull/4592/commits/7134ec2165ade6f2f5478242412010b4e3ae0682 |
| 7134ec2 | https://github.com/purescript/purescript/pull/4592/commits/7134ec2165ade6f2f5478242412010b4e3ae0682 |
| https://github.com/i-am-the-slime |
| i-am-the-slime | https://github.com/i-am-the-slime |
| force-pushed | https://github.com/purescript/purescript/compare/92354553ff37bc08cfbf6097eb244d14f5c4ebe7..7134ec2165ade6f2f5478242412010b4e3ae0682 |
| 9235455 | https://github.com/purescript/purescript/commit/92354553ff37bc08cfbf6097eb244d14f5c4ebe7 |
| 7134ec2 | https://github.com/purescript/purescript/commit/7134ec2165ade6f2f5478242412010b4e3ae0682 |
|
Compare
| https://github.com/purescript/purescript/compare/92354553ff37bc08cfbf6097eb244d14f5c4ebe7..7134ec2165ade6f2f5478242412010b4e3ae0682 |
| April 4, 2026 18:19 | https://github.com/purescript/purescript/pull/4592#event-24199158125 |
| https://github.com/i-am-the-slime |
| i-am-the-slime | https://github.com/i-am-the-slime |
| Apr 19, 2026 | https://github.com/purescript/purescript/pull/4592#issuecomment-4275494092 |
| Please reload this page | https://github.com/purescript/purescript/pull/4592 |
| https://github.com/i-am-the-slime |
| i-am-the-slime | https://github.com/i-am-the-slime |
| Apr 19, 2026 | https://github.com/purescript/purescript/pull/4592#event-24647920649 |
| https://github.com/i-am-the-slime |
| i-am-the-slime | https://github.com/i-am-the-slime |
|
Apr 19, 2026
| https://github.com/purescript/purescript/pull/4592#ref-pullrequest-4290315302 |
|
Add attached derive clauses to data and newtype declarations
#4594
| https://github.com/purescript/purescript/pull/4594 |
| https://github.co/hiddenchars |
| https://github.com/purescript/purescript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript%2Fpurescript%2Fpull%2F4592 |
| Please reload this page | https://github.com/purescript/purescript/pull/4592 |
|
Much shorter instancing/generics-deriving syntax
| https://github.com/purescript/purescript/issues/3426 |
| Please reload this page | https://github.com/purescript/purescript/pull/4592 |
|
| https://github.com/i-am-the-slime |
|
| https://github.com/afcondon |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |