| 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(.:format) |
| route-controller | pull_requests |
| route-action | show |
| fetch-nonce | v2:5e8046b3-3ef0-31bf-d88e-5c89e3bd4699 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8094:3A4875:7F105E:AAD3A2:6B00DF43 |
| html-safe-nonce | aa87314a6a11424a8e350c38bc9b183eb0b954dbab9b44b12307758525080c8b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDk0OjNBNDg3NTo3RjEwNUU6QUFEM0EyOjZCMDBERjQzIiwidmlzaXRvcl9pZCI6IjE0MTUwMzE4NDU2Njk2MjU2NjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b23b410a0fecd3123219c69b978c9fae4e8ea3222b3c27b905c72338d6c00e67 |
| hovercard-subject-tag | pull_request:4014053146 |
| 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 |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/purescript-lua/purescript-lua/pull/210 |
| twitter:image | https://opengraph.githubassets.com/0ddbb021a00990f005fd9a189869d8151b724dfc42fafc616138d9d917ce9e15/purescript-lua/purescript-lua/pull/210 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0ddbb021a00990f005fd9a189869d8151b724dfc42fafc616138d9d917ce9e15/purescript-lua/purescript-lua/pull/210 |
| og:image:alt | Closes #178. Builds on the foreign parser (#173) and case-of-known-constructor (#177); unblocks the dictionary-method inlining of #180.
What
Polymorphic hot code bottoms out in opaque curried forei... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Unisay |
| hostname | github.com |
| expected-hostname | github.com |
| None | 043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf |
| turbo-cache-control | no-cache |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5425dc24e8bd8d6fca9641a12afc984825a43875 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/purescript-lua/purescript-lua/pull/210#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript-lua%2Fpurescript-lua%2Fpull%2F210 |
| 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%2F210 |
| 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&source=header-repo&source_repo=purescript-lua%2Fpurescript-lua |
| Reload | https://github.com/purescript-lua/purescript-lua/pull/210 |
| Reload | https://github.com/purescript-lua/purescript-lua/pull/210 |
| Reload | https://github.com/purescript-lua/purescript-lua/pull/210 |
| 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 |
| https://github.com/purescript-lua/purescript-lua |
| Unisay | https://github.com/Unisay |
| main | https://github.com/purescript-lua/purescript-lua/tree/main |
| issue-178/foreign-lift-primops | https://github.com/purescript-lua/purescript-lua/tree/issue-178/foreign-lift-primops |
| Conversation | https://github.com/purescript-lua/purescript-lua/pull/210 |
| Commits6 (6) | https://github.com/purescript-lua/purescript-lua/pull/210/commits |
| Checks | https://github.com/purescript-lua/purescript-lua/pull/210/checks |
| Files changed | https://github.com/purescript-lua/purescript-lua/pull/210/files |
| feat: lift the pure subset of foreign values into IR primops (#178) | https://github.com/purescript-lua/purescript-lua/pull/210#top |
| Unisay | https://github.com/Unisay |
| main | https://github.com/purescript-lua/purescript-lua/tree/main |
| issue-178/foreign-lift-primops | https://github.com/purescript-lua/purescript-lua/tree/issue-178/foreign-lift-primops |
|
| https://github.com/Unisay |
| Unisay | https://github.com/Unisay |
| Jul 8, 2026 | https://github.com/purescript-lua/purescript-lua/pull/210#issue-4837027461 |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/210 |
| #178 | https://github.com/purescript-lua/purescript-lua/issues/178 |
| #173 | https://github.com/purescript-lua/purescript-lua/issues/173 |
| #177 | https://github.com/purescript-lua/purescript-lua/issues/177 |
| #180 | https://github.com/purescript-lua/purescript-lua/issues/180 |
| #173 | https://github.com/purescript-lua/purescript-lua/issues/173 |
| Fold ReflectCtor and DataArgumentByIndex over known constructor applications (case-of-known-constructor) #177 | https://github.com/purescript-lua/purescript-lua/issues/177 |
| #178 | https://github.com/purescript-lua/purescript-lua/issues/178 |
| #180 | https://github.com/purescript-lua/purescript-lua/issues/180 |
| #180 | https://github.com/purescript-lua/purescript-lua/issues/180 |
| #211 | https://github.com/purescript-lua/purescript-lua/issues/211 |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/210 |
| Unisay | https://github.com/Unisay |
| July 8, 2026 13:26 | https://github.com/purescript-lua/purescript-lua/pull/210#commits-pushed-9f66190 |
|
| https://github.com/Unisay |
| feat: lift the pure subset of foreign values into IR primops ( | https://github.com/purescript-lua/purescript-lua/pull/210/commits/9f6619086eeb8c07ec8899a8e34366116eabcc0a |
| #178 | https://github.com/purescript-lua/purescript-lua/issues/178 |
| ) | https://github.com/purescript-lua/purescript-lua/pull/210/commits/9f6619086eeb8c07ec8899a8e34366116eabcc0a |
| 9f66190 | https://github.com/purescript-lua/purescript-lua/pull/210/commits/9f6619086eeb8c07ec8899a8e34366116eabcc0a |
| #173 | https://github.com/purescript-lua/purescript-lua/issues/173 |
| #177 | https://github.com/purescript-lua/purescript-lua/issues/177 |
|
| https://github.com/Unisay |
| test: primop folding, foreign lifter, and golden coverage ( | https://github.com/purescript-lua/purescript-lua/pull/210/commits/092dda0bed9fff88b216c272fb6d0a3988463076 |
| #178 | https://github.com/purescript-lua/purescript-lua/issues/178 |
| ) | https://github.com/purescript-lua/purescript-lua/pull/210/commits/092dda0bed9fff88b216c272fb6d0a3988463076 |
| 092dda0 | https://github.com/purescript-lua/purescript-lua/pull/210/commits/092dda0bed9fff88b216c272fb6d0a3988463076 |
| https://github.com/Unisay |
| Unisay | https://github.com/Unisay |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| July 8, 2026 11:40 | https://github.com/purescript-lua/purescript-lua/pull/210#event-27712825761 |
| https://github.com/Unisay |
| Unisay | https://github.com/Unisay |
| Jul 8, 2026 | https://github.com/purescript-lua/purescript-lua/pull/210#event-27712826464 |
| started reviewing | https://github.com/purescript-lua/purescript-lua/sessions/69a394e8-3839-44c5-96e9-ec35726cd311 |
| Unisay | https://github.com/Unisay |
| July 8, 2026 11:41 | https://github.com/purescript-lua/purescript-lua/pull/210#event-27712849778 |
|
View session
| https://github.com/purescript-lua/purescript-lua/sessions/69a394e8-3839-44c5-96e9-ec35726cd311 |
|
| https://github.com/apps/copilot-pull-request-reviewer |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
|
Jul 8, 2026
| https://github.com/purescript-lua/purescript-lua/pull/210#pullrequestreview-4653768683 |
|
View reviewed changes
| https://github.com/purescript-lua/purescript-lua/pull/210/files/092dda0bed9fff88b216c272fb6d0a3988463076 |
| Copilot | https://github.com/apps/copilot-pull-request-reviewer |
| https://github.com/purescript-lua/purescript-lua/pull/210#pullrequestreview-4653768683 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/210 |
| test/ps/src/Golden/Primops/Test.purs | https://github.com/purescript-lua/purescript-lua/pull/210/files/092dda0bed9fff88b216c272fb6d0a3988463076#diff-da2e2f6c7c58a796188f50185132a75b272a9f5100bb9fffd3b4bcc808d36dc2 |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/210 |
|
| https://github.com/Unisay |
| feat: simplify boolean-valued ifs to | https://github.com/purescript-lua/purescript-lua/pull/210/commits/b98e98d77ad0fd420bedfddd8da3fd48a8e931f4 |
| not | https://github.com/purescript-lua/purescript-lua/pull/210/commits/b98e98d77ad0fd420bedfddd8da3fd48a8e931f4 |
| / the condition ( | https://github.com/purescript-lua/purescript-lua/pull/210/commits/b98e98d77ad0fd420bedfddd8da3fd48a8e931f4 |
| #178 | https://github.com/purescript-lua/purescript-lua/issues/178 |
| ) | https://github.com/purescript-lua/purescript-lua/pull/210/commits/b98e98d77ad0fd420bedfddd8da3fd48a8e931f4 |
| b98e98d | https://github.com/purescript-lua/purescript-lua/pull/210/commits/b98e98d77ad0fd420bedfddd8da3fd48a8e931f4 |
| #178 | https://github.com/purescript-lua/purescript-lua/issues/178 |
| #178 | https://github.com/purescript-lua/purescript-lua/issues/178 |
| https://github.com/Unisay |
| Unisay | https://github.com/Unisay |
| July 8, 2026 13:57 | https://github.com/purescript-lua/purescript-lua/pull/210#event-27718941150 |
| Unisay | https://github.com/Unisay |
| July 8, 2026 16:01 | https://github.com/purescript-lua/purescript-lua/pull/210#commits-pushed-2d1031c |
|
| https://github.com/Unisay |
| address copilot review on PR | https://github.com/purescript-lua/purescript-lua/pull/210/commits/2d1031ce4396ba335956903e1396fa37945a6a33 |
| #210 | https://github.com/purescript-lua/purescript-lua/pull/210 |
| 2d1031c | https://github.com/purescript-lua/purescript-lua/pull/210/commits/2d1031ce4396ba335956903e1396fa37945a6a33 |
| #180 | https://github.com/purescript-lua/purescript-lua/issues/180 |
| #210 (comment) | https://github.com/purescript-lua/purescript-lua/pull/210#discussion_r3543635671 |
|
| https://github.com/Unisay |
| chore: sync Golden.Primops corefn with the reworded test comment | https://github.com/purescript-lua/purescript-lua/pull/210/commits/ba37b482f69753eae68b78dac86ba5eb21f7874c |
| ba37b48 | https://github.com/purescript-lua/purescript-lua/pull/210/commits/ba37b482f69753eae68b78dac86ba5eb21f7874c |
| 2d1031c | https://github.com/purescript-lua/purescript-lua/commit/2d1031ce4396ba335956903e1396fa37945a6a33 |
|
| https://github.com/Unisay |
| fix(bench): canonicalize trace reports across trials | https://github.com/purescript-lua/purescript-lua/pull/210/commits/9084c9a2cdba74a0da6492f975f6d26bc0472594 |
| 9084c9a | https://github.com/purescript-lua/purescript-lua/pull/210/commits/9084c9a2cdba74a0da6492f975f6d26bc0472594 |
| #178 | https://github.com/purescript-lua/purescript-lua/issues/178 |
| #178 | https://github.com/purescript-lua/purescript-lua/issues/178 |
| https://github.com/Unisay |
| Unisay | https://github.com/Unisay |
| ef55831 | https://github.com/purescript-lua/purescript-lua/commit/ef55831f91e813469707b3368edfc66c0c30458e |
| Jul 8, 2026 | https://github.com/purescript-lua/purescript-lua/pull/210#event-27722532895 |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/210 |
| https://github.com/Unisay |
| Unisay | https://github.com/Unisay |
| July 8, 2026 15:13 | https://github.com/purescript-lua/purescript-lua/pull/210#event-27722535440 |
| https://github.co/hiddenchars |
| https://github.com/purescript-lua/purescript-lua/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-lua%2Fpurescript-lua%2Fpull%2F210 |
|
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/210/files/092dda0bed9fff88b216c272fb6d0a3988463076 |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/210 |
|
| https://github.com/Unisay |
|
Unisay
| https://github.com/Unisay |
|
Lift the pure subset of foreign values into the IR: primop nodes and an allowlist-driven lifter
| https://github.com/purescript-lua/purescript-lua/issues/178 |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/210 |
|
| https://github.com/Unisay |
|
| https://github.com/apps/copilot-pull-request-reviewer |
|
| 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 |