| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c3f9bb1d-aa8d-0942-8fcd-2c7f8650679a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D56E:3DD488:738C98:943FD3:6B00E4A6 |
| html-safe-nonce | d3695a7b41e9bdb63973782206efeb5c241ff4a61ff241c6dc2259fba0056795 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTZFOjNERDQ4ODo3MzhDOTg6OTQzRkQzOjZCMDBFNEE2IiwidmlzaXRvcl9pZCI6IjU3OTM5ODMyNTQyOTgxNTgyNDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1fe7cc4c5d4200a8fa1a981d7b7878cf90b456dbf271f0ba06f95ebfafbafe5c |
| hovercard-subject-tag | pull_request:4059683354 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/purescript-lua/purescript-lua/pull/279/files |
| twitter:image | https://avatars.githubusercontent.com/u/1009751?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1009751?s=400&v=4 |
| og:image:alt | Closes #208.
A recursive function with a constructor accumulator builds the box on every iteration and takes it apart at the top of the next one. This PR brings GHC's SpecConstr discipline to t... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/purescript-lua/purescript-lua git https://github.com/purescript-lua/purescript-lua.git |
| octolytics-dimension-user_id | 131581790 |
| octolytics-dimension-user_login | purescript-lua |
| octolytics-dimension-repository_id | 587200487 |
| octolytics-dimension-repository_nwo | purescript-lua/purescript-lua |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 587200487 |
| octolytics-dimension-repository_network_root_nwo | purescript-lua/purescript-lua |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 624179fb8b88d26ba5bba08894eb60a1c5a1d93d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/purescript-lua/purescript-lua/pull/279/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript-lua%2Fpurescript-lua%2Fpull%2F279%2Ffiles |
| 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-lua%2Fpurescript-lua%2Fpull%2F279%2Ffiles |
| 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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=purescript-lua%2Fpurescript-lua |
| Reload | https://github.com/purescript-lua/purescript-lua/pull/279/files |
| Reload | https://github.com/purescript-lua/purescript-lua/pull/279/files |
| Reload | https://github.com/purescript-lua/purescript-lua/pull/279/files |
| purescript-lua | https://github.com/purescript-lua |
| purescript-lua | https://github.com/purescript-lua/purescript-lua |
| Code | https://github.com/purescript-lua/purescript-lua |
| Issues48 (48) | https://github.com/purescript-lua/purescript-lua/issues |
| Pull requests | https://github.com/purescript-lua/purescript-lua/pulls |
| Discussions | https://github.com/purescript-lua/purescript-lua/discussions |
| Actions | https://github.com/purescript-lua/purescript-lua/actions |
| Projects | https://github.com/purescript-lua/purescript-lua/projects |
| Security and quality | https://github.com/purescript-lua/purescript-lua/security |
| Insights | https://github.com/purescript-lua/purescript-lua/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpurescript-lua%2Fpurescript-lua%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpurescript-lua%2Fpurescript-lua%2Fissues%2Fnew%2Fchoose |
| Unisay | https://github.com/Unisay |
| main | https://github.com/purescript-lua/purescript-lua/tree/main |
| issue-208/spec-constr | https://github.com/purescript-lua/purescript-lua/tree/issue-208/spec-constr |
|
Conversation
1
| https://github.com/purescript-lua/purescript-lua/pull/279 |
|
Commits
3
| https://github.com/purescript-lua/purescript-lua/pull/279/commits |
|
Checks
2
| https://github.com/purescript-lua/purescript-lua/pull/279/checks |
|
Files changed
| https://github.com/purescript-lua/purescript-lua/pull/279/files |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/279/files |
|
SpecConstr: specialize recursive functions on known-constructor call patterns
| https://github.com/purescript-lua/purescript-lua/pull/279/files#top |
|
Show all changes
3 commits
| https://github.com/purescript-lua/purescript-lua/pull/279/files |
|
55be35e
test(ps): pin boxed-accumulator codegen before call-pattern specializ…
Unisay Jul 15, 2026
| https://github.com/purescript-lua/purescript-lua/pull/279/commits/55be35e8ad46e468334ad0b125b871ce632184f0 |
|
6e42cd3
feat(ir): specialize recursive bindings on known-constructor call pat…
Unisay Jul 15, 2026
| https://github.com/purescript-lua/purescript-lua/pull/279/commits/6e42cd3399e3a11da1a724f8cd962db4ba1cd199 |
|
89623a2
test(bench): add tuple_fold macro benchmark for call-pattern speciali…
Unisay Jul 15, 2026
| https://github.com/purescript-lua/purescript-lua/pull/279/commits/89623a2fb3840465b3fec1dfc0d8f6491416b31e |
|
Clear filters
| https://github.com/purescript-lua/purescript-lua/pull/279/files |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/279/files |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/279/files |
|
fnew_Bench.TupleFold.txt
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-a8be393657476741dfab9e43b02f723aa7bfc0dc541ffe2def186479d7274eb5 |
|
trace_tuple_fold.txt
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-b03006a551d958cf2dee0f6f97358ab984fe99ae5b7edfba3cc2af86ec427492 |
|
tuple_fold.lua
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-ab4142c7ca575369f3d8ec4389b122f76ac975a8bcbd6bc1ff8eae8d88e417e3 |
|
20260715_120000_unisay_spec_constr.md
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-18d296c58ed36bfc02df70bf231044f7bfd19fb535bfc1f9e04c023a59f34ac1 |
|
Optimizer.hs
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
Query.hs
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-c2db179b779dc853e8aed558f6757abc4bb11d5527b68b571814449b5cf5e203 |
|
SpecConstr.hs
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-f6dc5b8484710315c160ee989c08f321efbbff40ae39cd9baae8d20ad3a41fd7 |
|
pslua.cabal
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-cf0302393cf6443df4429c19c0fc326753a83405d0366075a98ac2753e5e1ab2 |
|
corefn.json
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-66bfa3b3b531cde61021f0acf958b0bca85a021889a8e0dcf283a4ac4158509d |
|
.gitignore
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-3315cea04bdb49af64845d6c2b626db9dc372ab1f72ef97065f573aea6c1c0c6 |
|
golden.txt
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-45a024337ca44ed681036e9fdd071068c6ef839c812cbe7ee6d107dfa8363fd8 |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-5a8697c32b69161fd9b5f35c113e261ae0490d7cabdd203fe1e7d947d6452b40 |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-071592f558dbea3b0d5dece641920d6e652b30971d89ff173826b816b2d67109 |
|
TupleFold.purs
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-dadb59ef5df203e3a98a3c77b46ee76d20217745a77f5561b3b8973434f0aa47 |
|
Test.purs
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-32fa01733760386f40b4bc59f6ab352513a09b4ceaa00e73df9f56a2993925fd |
| bench/goldens/fnew_Bench.TupleFold.txt | https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-a8be393657476741dfab9e43b02f723aa7bfc0dc541ffe2def186479d7274eb5 |
|
View file
| https://github.com/purescript-lua/purescript-lua/blob/89623a2fb3840465b3fec1dfc0d8f6491416b31e/bench/goldens/fnew_Bench.TupleFold.txt |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/purescript-lua/purescript-lua/pull/279/{{ revealButtonHref }} |
| bench/goldens/trace_tuple_fold.txt | https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-b03006a551d958cf2dee0f6f97358ab984fe99ae5b7edfba3cc2af86ec427492 |
|
View file
| https://github.com/purescript-lua/purescript-lua/blob/89623a2fb3840465b3fec1dfc0d8f6491416b31e/bench/goldens/trace_tuple_fold.txt |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/purescript-lua/purescript-lua/pull/279/{{ revealButtonHref }} |
| bench/macro/tuple_fold.lua | https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-ab4142c7ca575369f3d8ec4389b122f76ac975a8bcbd6bc1ff8eae8d88e417e3 |
|
View file
| https://github.com/purescript-lua/purescript-lua/blob/89623a2fb3840465b3fec1dfc0d8f6491416b31e/bench/macro/tuple_fold.lua |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/purescript-lua/purescript-lua/pull/279/{{ revealButtonHref }} |
| changelog.d/20260715_120000_unisay_spec_constr.md | https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-18d296c58ed36bfc02df70bf231044f7bfd19fb535bfc1f9e04c023a59f34ac1 |
|
View file
| https://github.com/purescript-lua/purescript-lua/blob/89623a2fb3840465b3fec1dfc0d8f6491416b31e/changelog.d/20260715_120000_unisay_spec_constr.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/purescript-lua/purescript-lua/pull/279/{{ revealButtonHref }} |
| lib/Language/PureScript/Backend/IR/Optimizer.hs | https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
View file
| https://github.com/purescript-lua/purescript-lua/blob/89623a2fb3840465b3fec1dfc0d8f6491416b31e/lib/Language/PureScript/Backend/IR/Optimizer.hs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/purescript-lua/purescript-lua/pull/279/{{ revealButtonHref }} |
|
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
| lib/Language/PureScript/Backend/IR/Query.hs | https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-c2db179b779dc853e8aed558f6757abc4bb11d5527b68b571814449b5cf5e203 |
|
View file
| https://github.com/purescript-lua/purescript-lua/blob/89623a2fb3840465b3fec1dfc0d8f6491416b31e/lib/Language/PureScript/Backend/IR/Query.hs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/purescript-lua/purescript-lua/pull/279/{{ revealButtonHref }} |
|
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-c2db179b779dc853e8aed558f6757abc4bb11d5527b68b571814449b5cf5e203 |
|
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-c2db179b779dc853e8aed558f6757abc4bb11d5527b68b571814449b5cf5e203 |
|
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-c2db179b779dc853e8aed558f6757abc4bb11d5527b68b571814449b5cf5e203 |
|
| https://github.com/purescript-lua/purescript-lua/pull/279/files#diff-c2db179b779dc853e8aed558f6757abc4bb11d5527b68b571814449b5cf5e203 |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/279/files |
|
| 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 |