René's URL Explorer Experiment


Title: feat: fold case-of-known-constructor in the IR optimizer (#177) by Unisay · Pull Request #209 · purescript-lua/purescript-lua · GitHub

Open Graph Title: feat: fold case-of-known-constructor in the IR optimizer (#177) by Unisay · Pull Request #209 · purescript-lua/purescript-lua

X Title: feat: fold case-of-known-constructor in the IR optimizer (#177) by Unisay · Pull Request #209 · 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 #177. The enabler for the dictionary-specialization cascade (#178/#180 build on it). What Two rewrite rules in optimizedExpressionM, the algebraic-type twin of the existing record-projection...

X Description: Closes #177. The enabler for the dictionary-specialization cascade (#178/#180 build on it). What Two rewrite rules in optimizedExpressionM, the algebraic-type twin of the existing record-projection...

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

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:0a971825-9cbe-8b6c-7ebe-638658a6772c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDBC6:2C4BED:74ECCF:9640C7:6B00E433
html-safe-nonce04101890b9b99a38e2a0ce323c912df30cafba8cd7a43ac9bfb6f7cbaa0efdb8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkM2OjJDNEJFRDo3NEVDQ0Y6OTY0MEM3OjZCMDBFNDMzIiwidmlzaXRvcl9pZCI6IjIzNzE1NTM4ODcwNTI4NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd979e0a55c67a1a871cd0df285068fedf01dd3cecfde237437c12b9b51f73ac1
hovercard-subject-tagpull_request:4012775642
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/209/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e321eac127bdf9259c8795de5ef75ba97daa9c01f14e3714893db433788839e2/purescript-lua/purescript-lua/pull/209
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e321eac127bdf9259c8795de5ef75ba97daa9c01f14e3714893db433788839e2/purescript-lua/purescript-lua/pull/209
og:image:altCloses #177. The enabler for the dictionary-specialization cascade (#178/#180 build on it). What Two rewrite rules in optimizedExpressionM, the algebraic-type twin of the existing record-projection...
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/209#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript-lua%2Fpurescript-lua%2Fpull%2F209
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%2F209
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/209
Reloadhttps://github.com/purescript-lua/purescript-lua/pull/209
Reloadhttps://github.com/purescript-lua/purescript-lua/pull/209
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-177/case-of-known-ctorhttps://github.com/purescript-lua/purescript-lua/tree/issue-177/case-of-known-ctor
Conversationhttps://github.com/purescript-lua/purescript-lua/pull/209
Commits6 (6)https://github.com/purescript-lua/purescript-lua/pull/209/commits
Checkshttps://github.com/purescript-lua/purescript-lua/pull/209/checks
Files changedhttps://github.com/purescript-lua/purescript-lua/pull/209/files
feat: fold case-of-known-constructor in the IR optimizer (#177)https://github.com/purescript-lua/purescript-lua/pull/209#top
Unisayhttps://github.com/Unisay
mainhttps://github.com/purescript-lua/purescript-lua/tree/main
issue-177/case-of-known-ctorhttps://github.com/purescript-lua/purescript-lua/tree/issue-177/case-of-known-ctor
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Jul 8, 2026https://github.com/purescript-lua/purescript-lua/pull/209#issue-4835559002
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/209
#177https://github.com/purescript-lua/purescript-lua/issues/177
#178https://github.com/purescript-lua/purescript-lua/issues/178
#180https://github.com/purescript-lua/purescript-lua/issues/180
#201https://github.com/purescript-lua/purescript-lua/issues/201
Lift the pure subset of foreign values into the IR: primop nodes and an allowlist-driven lifter #178https://github.com/purescript-lua/purescript-lua/issues/178
Budgeted call-site inlining of dictionary methods to collapse non-Effect/ST monadic chains #180https://github.com/purescript-lua/purescript-lua/issues/180
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/209
Unisayhttps://github.com/Unisay
July 8, 2026 09:26https://github.com/purescript-lua/purescript-lua/pull/209#commits-pushed-810fb28
https://github.com/Unisay
feat: fold case-of-known-constructor in the IR optimizer (https://github.com/purescript-lua/purescript-lua/pull/209/commits/810fb28c039e53fd86e0e238d09af6ef9408195f
#177https://github.com/purescript-lua/purescript-lua/issues/177
)https://github.com/purescript-lua/purescript-lua/pull/209/commits/810fb28c039e53fd86e0e238d09af6ef9408195f
810fb28https://github.com/purescript-lua/purescript-lua/pull/209/commits/810fb28c039e53fd86e0e238d09af6ef9408195f
#178https://github.com/purescript-lua/purescript-lua/issues/178
#180https://github.com/purescript-lua/purescript-lua/issues/180
https://github.com/Unisay
test: unit, property, and pipeline coverage for case-of-known-constru…https://github.com/purescript-lua/purescript-lua/pull/209/commits/065bd3694a9d04971c650a73d57186e9e27ad4ae
065bd36https://github.com/purescript-lua/purescript-lua/pull/209/commits/065bd3694a9d04971c650a73d57186e9e27ad4ae
https://github.com/Unisay
refactor: share the curried-App-spine unwinder across IR passeshttps://github.com/purescript-lua/purescript-lua/pull/209/commits/be42482cedc3d9a736d601f41f0bca9009a5de42
be42482https://github.com/purescript-lua/purescript-lua/pull/209/commits/be42482cedc3d9a736d601f41f0bca9009a5de42
#177https://github.com/purescript-lua/purescript-lua/issues/177
https://github.com/Unisay
chore: clear the remaining compiler warnings for a warning-free buildhttps://github.com/purescript-lua/purescript-lua/pull/209/commits/dfdd052f1ac374c8cb2e8c9c5be5588db5bfb68f
dfdd052https://github.com/purescript-lua/purescript-lua/pull/209/commits/dfdd052f1ac374c8cb2e8c9c5be5588db5bfb68f
#177https://github.com/purescript-lua/purescript-lua/issues/177
https://github.com/Unisay
chore: disable the "Use const" hlint hinthttps://github.com/purescript-lua/purescript-lua/pull/209/commits/c50132a2990052d431889d359470e05dca0a11f9
c50132ahttps://github.com/purescript-lua/purescript-lua/pull/209/commits/c50132a2990052d431889d359470e05dca0a11f9
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Copilothttps://github.com/apps/copilot-pull-request-reviewer
July 8, 2026 08:43https://github.com/purescript-lua/purescript-lua/pull/209#event-27705620814
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Jul 8, 2026https://github.com/purescript-lua/purescript-lua/pull/209#event-27705621749
https://github.com/Unisay
Unisayhttps://github.com/Unisay
July 8, 2026 08:43https://github.com/purescript-lua/purescript-lua/pull/209#event-27705632608
https://github.com/Unisay
test: fuzz constructor folds — extend the IR generator and add a full…https://github.com/purescript-lua/purescript-lua/pull/209/commits/67a1a33392d4075efddc316bee2038633c609a84
67a1a33https://github.com/purescript-lua/purescript-lua/pull/209/commits/67a1a33392d4075efddc316bee2038633c609a84
#177https://github.com/purescript-lua/purescript-lua/issues/177
started reviewinghttps://github.com/purescript-lua/purescript-lua/sessions/3532f9ad-477f-4db4-80ac-07f725b19316
Unisayhttps://github.com/Unisay
July 8, 2026 08:44https://github.com/purescript-lua/purescript-lua/pull/209#event-27705642023
View session https://github.com/purescript-lua/purescript-lua/sessions/3532f9ad-477f-4db4-80ac-07f725b19316
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Jul 8, 2026 https://github.com/purescript-lua/purescript-lua/pull/209#pullrequestreview-4652451108
View reviewed changes https://github.com/purescript-lua/purescript-lua/pull/209/files/dfdd052f1ac374c8cb2e8c9c5be5588db5bfb68f
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/purescript-lua/purescript-lua/pull/209#pullrequestreview-4652451108
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#177https://github.com/purescript-lua/purescript-lua/issues/177
#178https://github.com/purescript-lua/purescript-lua/issues/178
#180https://github.com/purescript-lua/purescript-lua/issues/180
#177https://github.com/purescript-lua/purescript-lua/issues/177
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/209
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Copilothttps://github.com/apps/copilot-pull-request-reviewer
July 8, 2026 09:08https://github.com/purescript-lua/purescript-lua/pull/209#event-27706684379
started reviewinghttps://github.com/purescript-lua/purescript-lua/sessions/2d669e8d-bd24-4396-934a-f850ecd57955
Unisayhttps://github.com/Unisay
July 8, 2026 09:09https://github.com/purescript-lua/purescript-lua/pull/209#event-27706703056
View session https://github.com/purescript-lua/purescript-lua/sessions/2d669e8d-bd24-4396-934a-f850ecd57955
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Jul 8, 2026 https://github.com/purescript-lua/purescript-lua/pull/209#pullrequestreview-4652671832
View reviewed changes https://github.com/purescript-lua/purescript-lua/pull/209/files/67a1a33392d4075efddc316bee2038633c609a84
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/purescript-lua/purescript-lua/pull/209#pullrequestreview-4652671832
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/209
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Jul 8, 2026https://github.com/purescript-lua/purescript-lua/pull/209#event-27706886711
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Jul 8, 2026https://github.com/purescript-lua/purescript-lua/pull/209#event-27706888942
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Unisayhttps://github.com/Unisay
Unisayhttps://github.com/Unisay
Jul 8, 2026https://github.com/purescript-lua/purescript-lua/pull/209#event-27706985362
https://github.com/Unisay
Unisayhttps://github.com/Unisay
62f29a7https://github.com/purescript-lua/purescript-lua/commit/62f29a7f99641789a7961101b6af1ca5e129dc3c
Jul 8, 2026https://github.com/purescript-lua/purescript-lua/pull/209#event-27707306371
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/209
https://github.com/Unisay
Unisayhttps://github.com/Unisay
July 8, 2026 09:23https://github.com/purescript-lua/purescript-lua/pull/209#event-27707307587
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%2F209
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/209/files/67a1a33392d4075efddc316bee2038633c609a84
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/209
https://github.com/Unisay
Unisay https://github.com/Unisay
Fold ReflectCtor and DataArgumentByIndex over known constructor applications (case-of-known-constructor) https://github.com/purescript-lua/purescript-lua/issues/177
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/209
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.