René's URL Explorer Experiment


Title: Uncurry functions via a worker/wrapper split by Unisay · Pull Request #202 · purescript-lua/purescript-lua · GitHub

Open Graph Title: Uncurry functions via a worker/wrapper split by Unisay · Pull Request #202 · purescript-lua/purescript-lua

X Title: Uncurry functions via a worker/wrapper split by Unisay · Pull Request #202 · 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: Implements the worker/wrapper design from #24: curried functions stop paying a Lua call plus a closure allocation per argument at their saturated call sites. What changed The IR gains the definiti...

X Description: Implements the worker/wrapper design from #24: curried functions stop paying a Lua call plus a closure allocation per argument at their saturated call sites. What changed The IR gains the definiti...

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

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:969df9fb-ef59-82e9-65a2-c83da3b55ad2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA27C:1F44:268E16:32BA48:6B00E431
html-safe-nonce5a92e7a6313bca0583f3b4975178bdaedf07107cc73c7e07325344ea7041df40
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjdDOjFGNDQ6MjY4RTE2OjMyQkE0ODo2QjAwRTQzMSIsInZpc2l0b3JfaWQiOiI2NDI4MDk2MjI4Nzg5MTE4MDAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacbdafd1eab23744a4505cf677a8ac43c491f36d6e31f481c52b1551e80299c3ae
hovercard-subject-tagpull_request:4008783351
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/202/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/bf3a9f6543c0edb54a24cfe50e2da440b1a31bf0060f155b563c0b4e110db810/purescript-lua/purescript-lua/pull/202
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bf3a9f6543c0edb54a24cfe50e2da440b1a31bf0060f155b563c0b4e110db810/purescript-lua/purescript-lua/pull/202
og:image:altImplements the worker/wrapper design from #24: curried functions stop paying a Lua call plus a closure allocation per argument at their saturated call sites. What changed The IR gains the definiti...
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/202#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript-lua%2Fpurescript-lua%2Fpull%2F202
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%2F202
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/202
Reloadhttps://github.com/purescript-lua/purescript-lua/pull/202
Reloadhttps://github.com/purescript-lua/purescript-lua/pull/202
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-24/uncurry-worker-wrapperhttps://github.com/purescript-lua/purescript-lua/tree/issue-24/uncurry-worker-wrapper
Conversationhttps://github.com/purescript-lua/purescript-lua/pull/202
Commits6 (6)https://github.com/purescript-lua/purescript-lua/pull/202/commits
Checkshttps://github.com/purescript-lua/purescript-lua/pull/202/checks
Files changedhttps://github.com/purescript-lua/purescript-lua/pull/202/files
Uncurry functions via a worker/wrapper splithttps://github.com/purescript-lua/purescript-lua/pull/202#top
Unisayhttps://github.com/Unisay
mainhttps://github.com/purescript-lua/purescript-lua/tree/main
issue-24/uncurry-worker-wrapperhttps://github.com/purescript-lua/purescript-lua/tree/issue-24/uncurry-worker-wrapper
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Jul 7, 2026https://github.com/purescript-lua/purescript-lua/pull/202#issue-4830882459
#24https://github.com/purescript-lua/purescript-lua/issues/24
feat: represent application as an n-ary AppN call node (#179) #199https://github.com/purescript-lua/purescript-lua/pull/199
Lower self-recursive tail calls of uncurried workers to while loops (loopification) #181https://github.com/purescript-lua/purescript-lua/issues/181
Budgeted call-site inlining of dictionary methods to collapse non-Effect/ST monadic chains #180https://github.com/purescript-lua/purescript-lua/issues/180
#198https://github.com/purescript-lua/purescript-lua/issues/198
#178https://github.com/purescript-lua/purescript-lua/issues/178
#200https://github.com/purescript-lua/purescript-lua/issues/200
#201https://github.com/purescript-lua/purescript-lua/issues/201
Lift the *.Uncurried wrappers to direct AppN calls #198https://github.com/purescript-lua/purescript-lua/issues/198
#24https://github.com/purescript-lua/purescript-lua/issues/24
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/202
Unisayhttps://github.com/Unisay
July 7, 2026 18:00https://github.com/purescript-lua/purescript-lua/pull/202#commits-pushed-ab826ee
https://github.com/Unisay
feat: represent abstraction as an n-ary AbsN nodehttps://github.com/purescript-lua/purescript-lua/pull/202/commits/ab826ee84a796aecc4b62a68d258b9ca0be7e880
ab826eehttps://github.com/purescript-lua/purescript-lua/pull/202/commits/ab826ee84a796aecc4b62a68d258b9ca0be7e880
#199https://github.com/purescript-lua/purescript-lua/pull/199
https://github.com/Unisay
feat: reduce exact-arity n-ary beta redexeshttps://github.com/purescript-lua/purescript-lua/pull/202/commits/73003ccea973280bb3f0f72dfd2d6c2fff5c768f
73003cchttps://github.com/purescript-lua/purescript-lua/pull/202/commits/73003ccea973280bb3f0f72dfd2d6c2fff5c768f
https://github.com/Unisay
feat: flatten deep n-ary application chains and spineshttps://github.com/purescript-lua/purescript-lua/pull/202/commits/4a337f92462674f7ba3499bb42fdb8e7c4bfddbe
4a337f9https://github.com/purescript-lua/purescript-lua/pull/202/commits/4a337f92462674f7ba3499bb42fdb8e7c4bfddbe
https://github.com/Unisay
feat: uncurry functions via a worker/wrapper split (https://github.com/purescript-lua/purescript-lua/pull/202/commits/dd71a294bfc2607a7ff68e3e874e0ad89705d5e8
#24https://github.com/purescript-lua/purescript-lua/issues/24
)https://github.com/purescript-lua/purescript-lua/pull/202/commits/dd71a294bfc2607a7ff68e3e874e0ad89705d5e8
dd71a29https://github.com/purescript-lua/purescript-lua/pull/202/commits/dd71a294bfc2607a7ff68e3e874e0ad89705d5e8
https://github.com/Unisay
bench: counter goldens for the uncurried output, CurriedStep macrohttps://github.com/purescript-lua/purescript-lua/pull/202/commits/57fb3d2aaac11f829c06d9d9974faac385a73b53
57fb3d2https://github.com/purescript-lua/purescript-lua/pull/202/commits/57fb3d2aaac11f829c06d9d9974faac385a73b53
https://github.com/Unisay
test: property, pipeline-composition and inline-always coverage for u…https://github.com/purescript-lua/purescript-lua/pull/202/commits/26e47d9f1ac9c274849c16d9deb0942fd29169ab
26e47d9https://github.com/purescript-lua/purescript-lua/pull/202/commits/26e47d9f1ac9c274849c16d9deb0942fd29169ab
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Jul 7, 2026https://github.com/purescript-lua/purescript-lua/pull/202#event-27677756671
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Copilothttps://github.com/apps/copilot-pull-request-reviewer
July 7, 2026 17:49https://github.com/purescript-lua/purescript-lua/pull/202#event-27677757089
https://github.com/Unisay
Unisayhttps://github.com/Unisay
July 7, 2026 17:49https://github.com/purescript-lua/purescript-lua/pull/202#event-27677763499
started reviewinghttps://github.com/purescript-lua/purescript-lua/sessions/dd3742c5-7096-4d77-ab4e-41c47261042b
Unisayhttps://github.com/Unisay
July 7, 2026 17:49https://github.com/purescript-lua/purescript-lua/pull/202#event-27677772306
View session https://github.com/purescript-lua/purescript-lua/sessions/dd3742c5-7096-4d77-ab4e-41c47261042b
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Jul 7, 2026 https://github.com/purescript-lua/purescript-lua/pull/202#pullrequestreview-4647667883
View reviewed changes https://github.com/purescript-lua/purescript-lua/pull/202/files/26e47d9f1ac9c274849c16d9deb0942fd29169ab
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/purescript-lua/purescript-lua/pull/202#pullrequestreview-4647667883
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#24https://github.com/purescript-lua/purescript-lua/issues/24
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/202
https://github.com/Unisay
Unisayhttps://github.com/Unisay
374b41chttps://github.com/purescript-lua/purescript-lua/commit/374b41c9365eafe99ca162b1d109809a8714f9a0
Jul 7, 2026https://github.com/purescript-lua/purescript-lua/pull/202#event-27680507889
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/202
https://github.com/Unisay
Unisayhttps://github.com/Unisay
July 7, 2026 19:03https://github.com/purescript-lua/purescript-lua/pull/202#event-27680592416
Fold ReflectCtor and DataArgumentByIndex over known constructor applications (case-of-known-constructor) #177 https://github.com/purescript-lua/purescript-lua/issues/177
CPR-style worker/wrapper on results: return constructed products as Lua multiple values #206 https://github.com/purescript-lua/purescript-lua/issues/206
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%2F202
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/202/files/26e47d9f1ac9c274849c16d9deb0942fd29169ab
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/202
https://github.com/Unisay
Unisay https://github.com/Unisay
Program transformation to uncurry functions for which all applications are fully saturated. https://github.com/purescript-lua/purescript-lua/issues/24
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/202
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.