René's URL Explorer Experiment


Title: Uncurry data constructor applications by Unisay · Pull Request #278 · purescript-lua/purescript-lua · GitHub

Open Graph Title: Uncurry data constructor applications by Unisay · Pull Request #278 · purescript-lua/purescript-lua

X Title: Uncurry data constructor applications by Unisay · Pull Request #278 · purescript-lua/purescript-lua

Description: Purescript compiler back-end for Lua. Contribute to purescript-lua/purescript-lua development by creating an account on GitHub.

Open Graph Description: Closes #201. What The IR Ctor node now carries its field argument expressions and is saturated by construction, instead of being a childless leaf whose currying materialized only at codegen: -- bef...

X Description: Closes #201. What The IR Ctor node now carries its field argument expressions and is saturated by construction, instead of being a childless leaf whose currying materialized only at codegen: -- bef...

Opengraph URL: https://github.com/purescript-lua/purescript-lua/pull/278

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:d954987a-17ec-ada5-fad9-a87d29191a14
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCCBA:2FA59:ABBC71:DE1F64:6B00E43F
html-safe-nonce9bc61a75ab461ffc3ec06eb275d2617c191f2e2ec40caa58a1748fd08c60956d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQ0JBOjJGQTU5OkFCQkM3MTpERTFGNjQ6NkIwMEU0M0YiLCJ2aXNpdG9yX2lkIjoiNjc2OTMzMjMxNjc1OTE4ODU0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdc81187c0c8b91853e7022a792cc7f21461b2c0938f7e4658535b9992d387ff9
hovercard-subject-tagpull_request:4053961513
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/purescript-lua/purescript-lua/278/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5e5ba5dfeae5bdb54caefba6145695fa180e39c5ab5b152346932796bf273175/purescript-lua/purescript-lua/pull/278
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5e5ba5dfeae5bdb54caefba6145695fa180e39c5ab5b152346932796bf273175/purescript-lua/purescript-lua/pull/278
og:image:altCloses #201. What The IR Ctor node now carries its field argument expressions and is saturated by construction, instead of being a childless leaf whose currying materialized only at codegen: -- bef...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameUnisay
hostnamegithub.com
expected-hostnamegithub.com
None27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14
turbo-cache-controlno-cache
go-importgithub.com/purescript-lua/purescript-lua git https://github.com/purescript-lua/purescript-lua.git
octolytics-dimension-user_id131581790
octolytics-dimension-user_loginpurescript-lua
octolytics-dimension-repository_id587200487
octolytics-dimension-repository_nwopurescript-lua/purescript-lua
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id587200487
octolytics-dimension-repository_network_root_nwopurescript-lua/purescript-lua
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release624179fb8b88d26ba5bba08894eb60a1c5a1d93d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/purescript-lua/purescript-lua/pull/278#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript-lua%2Fpurescript-lua%2Fpull%2F278
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript-lua%2Fpurescript-lua%2Fpull%2F278
Sign uphttps://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-lua%2Fpurescript-lua
Reloadhttps://github.com/purescript-lua/purescript-lua/pull/278
Reloadhttps://github.com/purescript-lua/purescript-lua/pull/278
Reloadhttps://github.com/purescript-lua/purescript-lua/pull/278
purescript-luahttps://github.com/purescript-lua
purescript-luahttps://github.com/purescript-lua/purescript-lua
Codehttps://github.com/purescript-lua/purescript-lua
Issues48 (48)https://github.com/purescript-lua/purescript-lua/issues
Pull requestshttps://github.com/purescript-lua/purescript-lua/pulls
Discussionshttps://github.com/purescript-lua/purescript-lua/discussions
Actionshttps://github.com/purescript-lua/purescript-lua/actions
Projectshttps://github.com/purescript-lua/purescript-lua/projects
Security and qualityhttps://github.com/purescript-lua/purescript-lua/security
Insightshttps://github.com/purescript-lua/purescript-lua/insights
https://github.com/purescript-lua/purescript-lua
Unisayhttps://github.com/Unisay
mainhttps://github.com/purescript-lua/purescript-lua/tree/main
issue-201/uncurry-ctorshttps://github.com/purescript-lua/purescript-lua/tree/issue-201/uncurry-ctors
Conversationhttps://github.com/purescript-lua/purescript-lua/pull/278
Commits4 (4)https://github.com/purescript-lua/purescript-lua/pull/278/commits
Checkshttps://github.com/purescript-lua/purescript-lua/pull/278/checks
Files changedhttps://github.com/purescript-lua/purescript-lua/pull/278/files
Uncurry data constructor applicationshttps://github.com/purescript-lua/purescript-lua/pull/278#top
Unisayhttps://github.com/Unisay
mainhttps://github.com/purescript-lua/purescript-lua/tree/main
issue-201/uncurry-ctorshttps://github.com/purescript-lua/purescript-lua/tree/issue-201/uncurry-ctors
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Jul 14, 2026https://github.com/purescript-lua/purescript-lua/pull/278#issue-4884863667
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/278
#201https://github.com/purescript-lua/purescript-lua/issues/201
#24https://github.com/purescript-lua/purescript-lua/issues/24
Fold ReflectCtor and DataArgumentByIndex over known constructor applications (case-of-known-constructor) #177https://github.com/purescript-lua/purescript-lua/issues/177
Budgeted call-site inlining of dictionary methods to collapse non-Effect/ST monadic chains #180https://github.com/purescript-lua/purescript-lua/issues/180
Case-of-known-constructor through a let-bound scrutinee #214https://github.com/purescript-lua/purescript-lua/issues/214
Graduated @inline directives: arity=N, accessor forms, and a directives file #232https://github.com/purescript-lua/purescript-lua/issues/232
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/278
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Copilothttps://github.com/apps/copilot-pull-request-reviewer
July 14, 2026 20:08https://github.com/purescript-lua/purescript-lua/pull/278#event-27982831130
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Jul 14, 2026https://github.com/purescript-lua/purescript-lua/pull/278#event-27982831889
started reviewinghttps://github.com/purescript-lua/purescript-lua/sessions/153cb21f-0c4a-4cfb-a479-432f6b48250f
Unisayhttps://github.com/Unisay
July 14, 2026 20:09https://github.com/purescript-lua/purescript-lua/pull/278#event-27982851070
View session https://github.com/purescript-lua/purescript-lua/sessions/153cb21f-0c4a-4cfb-a479-432f6b48250f
https://github.com/Unisay
Unisayhttps://github.com/Unisay
July 14, 2026 20:11https://github.com/purescript-lua/purescript-lua/pull/278#event-27982948163
https://github.com/Unisay
test(ps): pin curried constructor codegen before uncurrying (https://github.com/purescript-lua/purescript-lua/pull/278/commits/2fd38b0b7af4b287d512c396f6aaaebd51faaa9a
#201https://github.com/purescript-lua/purescript-lua/issues/201
)https://github.com/purescript-lua/purescript-lua/pull/278/commits/2fd38b0b7af4b287d512c396f6aaaebd51faaa9a
2fd38b0https://github.com/purescript-lua/purescript-lua/pull/278/commits/2fd38b0b7af4b287d512c396f6aaaebd51faaa9a
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Jul 14, 2026 https://github.com/purescript-lua/purescript-lua/pull/278#pullrequestreview-4698178898
View reviewed changes https://github.com/purescript-lua/purescript-lua/pull/278/files
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/purescript-lua/purescript-lua/pull/278#pullrequestreview-4698178898
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#201https://github.com/purescript-lua/purescript-lua/issues/201
#24https://github.com/purescript-lua/purescript-lua/issues/24
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/278
test/ps/src/Bench/CtorBuild.purshttps://github.com/purescript-lua/purescript-lua/pull/278/files#diff-346193631aebeb6722d96975a6df65375a93b97d814976a5837892c1c35d8574
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/278
bench/macro/ctor_build.luahttps://github.com/purescript-lua/purescript-lua/pull/278/files#diff-11f0695fd5378335b8487882fa07b68d8ecc1f30e6ed7e15154ba0e32a66d3e9
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/278
Unisayhttps://github.com/Unisay
July 14, 2026 22:17https://github.com/purescript-lua/purescript-lua/pull/278#commits-pushed-a00a88b
https://github.com/Unisay
feat(ir): make Ctor a saturated applied node, uncurry constructors (https://github.com/purescript-lua/purescript-lua/pull/278/commits/a00a88be4e4d6aa623d8a690d5228c53ca120b61
#201https://github.com/purescript-lua/purescript-lua/issues/201
a00a88bhttps://github.com/purescript-lua/purescript-lua/pull/278/commits/a00a88be4e4d6aa623d8a690d5228c53ca120b61
https://github.com/purescript-lua/purescript-lua/issues/201
#177https://github.com/purescript-lua/purescript-lua/issues/177
#180https://github.com/purescript-lua/purescript-lua/issues/180
#214https://github.com/purescript-lua/purescript-lua/issues/214
#232https://github.com/purescript-lua/purescript-lua/issues/232
https://github.com/Unisay
test(golden): accept the uncurried constructor shapes (https://github.com/purescript-lua/purescript-lua/pull/278/commits/2fbc51b20e3c2de82719ad9eab2e85f02d8ecba3
#201https://github.com/purescript-lua/purescript-lua/issues/201
)https://github.com/purescript-lua/purescript-lua/pull/278/commits/2fbc51b20e3c2de82719ad9eab2e85f02d8ecba3
2fbc51bhttps://github.com/purescript-lua/purescript-lua/pull/278/commits/2fbc51b20e3c2de82719ad9eab2e85f02d8ecba3
https://github.com/Unisay
Unisayhttps://github.com/Unisay
force-pushedhttps://github.com/purescript-lua/purescript-lua/compare/0702b1435721e51dbb38db2557c404116cec4d72..2fbc51b20e3c2de82719ad9eab2e85f02d8ecba3
0702b14https://github.com/purescript-lua/purescript-lua/commit/0702b1435721e51dbb38db2557c404116cec4d72
2fbc51bhttps://github.com/purescript-lua/purescript-lua/commit/2fbc51b20e3c2de82719ad9eab2e85f02d8ecba3
Compare https://github.com/purescript-lua/purescript-lua/compare/0702b1435721e51dbb38db2557c404116cec4d72..2fbc51b20e3c2de82719ad9eab2e85f02d8ecba3
July 14, 2026 20:21https://github.com/purescript-lua/purescript-lua/pull/278#event-27983362023
https://github.com/Unisay
test(bench): address copilot review on PRhttps://github.com/purescript-lua/purescript-lua/pull/278/commits/3afff92fce5cfb1206ec10bee1ed3a6ce473ed36
#278https://github.com/purescript-lua/purescript-lua/pull/278
3afff92https://github.com/purescript-lua/purescript-lua/pull/278/commits/3afff92fce5cfb1206ec10bee1ed3a6ce473ed36
#278 (comment)https://github.com/purescript-lua/purescript-lua/pull/278#discussion_r3582316794
#278 (comment)https://github.com/purescript-lua/purescript-lua/pull/278#discussion_r3582316851
https://github.com/Unisay
Unisayhttps://github.com/Unisay
f84e2b0https://github.com/purescript-lua/purescript-lua/commit/f84e2b0bf805bef582a0df1333b8c369aabfb27f
Jul 15, 2026https://github.com/purescript-lua/purescript-lua/pull/278#event-28005397568
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/278
https://github.com/Unisay
Unisayhttps://github.com/Unisay
July 15, 2026 08:26https://github.com/purescript-lua/purescript-lua/pull/278#event-28005399170
https://github.co/hiddenchars
https://github.com/purescript-lua/purescript-lua/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript-lua%2Fpurescript-lua%2Fpull%2F278
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/purescript-lua/purescript-lua/pull/278/files/0702b1435721e51dbb38db2557c404116cec4d72
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/278
https://github.com/Unisay
Unisay https://github.com/Unisay
Uncurry data constructor applications https://github.com/purescript-lua/purescript-lua/issues/201
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/278
https://github.com/Unisay
https://github.com/apps/copilot-pull-request-reviewer
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.