| 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:899e80fd-e053-66ff-5e3d-40beb1b12ecf |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8994:395430:982C64:CB17F2:6B00E496 |
| html-safe-nonce | f05fad306e1a869fa4af9fbd49fae3a87f6d2677c121621d49e0b32e89b90c8e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTk0OjM5NTQzMDo5ODJDNjQ6Q0IxN0YyOjZCMDBFNDk2IiwidmlzaXRvcl9pZCI6IjI2MjUyNjM5OTM3MTQ5NTk1MTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a7a10fd37e446271743deb9f7a2599fd5b67fbf67c034b387382400b80d64489 |
| hovercard-subject-tag | pull_request:4126846470 |
| 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/299/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 #233. Built on top of the #297 fix (#298), which the ST golden of this PR exposed at baseline.
What it does
A run of an Effect/ST loop combinator — foreachE/forE/whileE and the ST twins Cont... |
| 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/299/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%2F299%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%2F299%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/299/files |
| Reload | https://github.com/purescript-lua/purescript-lua/pull/299/files |
| Reload | https://github.com/purescript-lua/purescript-lua/pull/299/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-233/native-loop-combinators | https://github.com/purescript-lua/purescript-lua/tree/issue-233/native-loop-combinators |
|
Conversation
0
| https://github.com/purescript-lua/purescript-lua/pull/299 |
|
Commits
2
| https://github.com/purescript-lua/purescript-lua/pull/299/commits |
|
Checks
2
| https://github.com/purescript-lua/purescript-lua/pull/299/checks |
|
Files changed
| https://github.com/purescript-lua/purescript-lua/pull/299/files |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/299/files |
|
feat(codegen): lower Effect/ST loop combinators to native Lua loops (#233)
| https://github.com/purescript-lua/purescript-lua/pull/299/files#top |
|
Show all changes
2 commits
| https://github.com/purescript-lua/purescript-lua/pull/299/files |
|
c048607
feat(codegen): lower Effect/ST loop combinators to native Lua loops
Unisay Jul 24, 2026
| https://github.com/purescript-lua/purescript-lua/pull/299/commits/c0486073e5a9cd9606bc402b54ea2b6becfa45c8 |
|
a7461c0
test(codegen): pin the native-loop alias-recognition gap as a canary
Unisay Jul 25, 2026
| https://github.com/purescript-lua/purescript-lua/pull/299/commits/a7461c00b5ba598b1aaa4c8e1b028250e6939369 |
|
Clear filters
| https://github.com/purescript-lua/purescript-lua/pull/299/files |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/299/files |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/299/files |
|
20260724_190000_unisay_native_loop_combinators.md
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-5dcc0108a556391c61c026a9343ed723742804073278f76adefcc0d370ece718 |
|
Lua.hs
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-11295f6f97401e5cc1fdfa2a8caa3fc80edc56cd58262d3de010e803f8d3640f |
|
NativeLoop.hs
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-a3888e1533705844ed6fcb418648fbbc4a26c848a680a76eb85d8477c625acdf |
|
pslua.cabal
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-cf0302393cf6443df4429c19c0fc326753a83405d0366075a98ac2753e5e1ab2 |
|
corefn.json
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-b378a55b7b50207bc25e70590734ec125c733049438982939ca269a5d035efca |
|
.gitignore
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-adb197c723aaa8b506e5c16ef5572d9144e95c088f7677bcb1546c601853e3bd |
|
golden.txt
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-656112d85874327564f2b63d3dd2e52eb321ff7e7a500322b8c969728e939813 |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-9b4c4b038b0c3d40da679d51ce2c71b82156d3197187abea1413f68965b058b7 |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-2d03606f5ebead0e867670629650bfed779d2884b711ef56c6c4a69753d1771f |
|
corefn.json
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-c812c5b04a07c41785b23cfbb32054d49a92834b82b42018a4f71c40b287a70b |
|
directives.txt
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-524c0599136e89a20458562ddf9d529535d29c8419c2a4a18db0c88f4680abcd |
|
.gitignore
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-b43c29085f018f62984e5a05dfa39211c2fd31afd8caf2f3e65b98c0f058d835 |
|
golden.txt
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-5e26f66c179a5b6ad9da02edaceb12cdb07d90d8d8ed8000206de39bd6817828 |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-6aa3d75b70b01e9a9a59a85a96821290d0a4981531c2649a2f19221e047a8339 |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-c3921d5163b380381df0ebd1542aeee3b7b27a28db964543ce7122aaa6571e10 |
|
corefn.json
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-a27666c032f3b7718415fee7d03c91ca40d58feeaa125d1bdbd8dd8ac9effcfd |
|
.gitignore
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-f1e4e15f9a7229a90c290713d093cd11edbdca9b6f99d265aae4bda01eb2f5f4 |
|
golden.txt
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-e5ef68a6a22fdca03b801aedcf4a5784962ceabdddbc5dd0ee45a89fd61e0fb5 |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-a7c115737c237f06d6f1ecc65eb41f0c79a6ea1bf8f45f9b0e0139fcf0acaf43 |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-5441757817a5c8e93447d97fdef1f07f46280d369ab30f4757780c03660be4b6 |
|
corefn.json
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-01bb7e9e6e30cafd690fb834e51df2a856c1f9a50d85c5b45999d8e993c39960 |
|
.gitignore
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-f0b3d967dd04c8bc79acc8a7c0e904027abce3fa2b9df169d70a3da568f837c0 |
|
golden.txt
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-9aaccab3a7c0521b6b0aaacc481716d3a15c71cfaef8b30fba488199f00116da |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-f9e92b2ca6a22677b8999aa31b480ca203dc5a99aed5b28cc3bf561f0f632a5b |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-414ab0a0ac3c675e25343f168caf9f8dd6450109e8fea78bc704760ffd5a975c |
|
spago.lock
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-19fe234072ab71378dafdf5f8dc5b4f1685e94f3f16c5a30b7de7db5e1244cc0 |
|
spago.yaml
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-b88c2a0027348fb88e3a2db2f7ce511583edfc64e4c683c782a9abb69d842a9a |
|
Test.purs
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-d8d2c8d2695ac3205e758f1152d42c4426d90cf814e42b6485db8f720538c590 |
|
Test.purs
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-217ba2ee2958994adafad797e47f8c4bc6841dc155f349ebd1f49f1353ad2f2f |
|
Test.purs
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-2f9c34b5a966944935f1a842e44553b62d5f9c87b66a90dd9f7791271f1d245e |
|
Test.purs
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-69e17265342a9044553a7030443c0ed67dcad3b8b1095adcfcd66c0c447de980 |
| changelog.d/20260724_190000_unisay_native_loop_combinators.md | https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-5dcc0108a556391c61c026a9343ed723742804073278f76adefcc0d370ece718 |
|
View file
| https://github.com/purescript-lua/purescript-lua/blob/a7461c00b5ba598b1aaa4c8e1b028250e6939369/changelog.d/20260724_190000_unisay_native_loop_combinators.md |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/purescript-lua/purescript-lua/pull/299/{{ revealButtonHref }} |
| lib/Language/PureScript/Backend/Lua.hs | https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-11295f6f97401e5cc1fdfa2a8caa3fc80edc56cd58262d3de010e803f8d3640f |
|
View file
| https://github.com/purescript-lua/purescript-lua/blob/a7461c00b5ba598b1aaa4c8e1b028250e6939369/lib/Language/PureScript/Backend/Lua.hs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/purescript-lua/purescript-lua/pull/299/{{ revealButtonHref }} |
|
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-11295f6f97401e5cc1fdfa2a8caa3fc80edc56cd58262d3de010e803f8d3640f |
|
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-11295f6f97401e5cc1fdfa2a8caa3fc80edc56cd58262d3de010e803f8d3640f |
|
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-11295f6f97401e5cc1fdfa2a8caa3fc80edc56cd58262d3de010e803f8d3640f |
|
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-11295f6f97401e5cc1fdfa2a8caa3fc80edc56cd58262d3de010e803f8d3640f |
|
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-11295f6f97401e5cc1fdfa2a8caa3fc80edc56cd58262d3de010e803f8d3640f |
|
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-11295f6f97401e5cc1fdfa2a8caa3fc80edc56cd58262d3de010e803f8d3640f |
|
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-11295f6f97401e5cc1fdfa2a8caa3fc80edc56cd58262d3de010e803f8d3640f |
|
| https://github.com/purescript-lua/purescript-lua/pull/299/files#diff-11295f6f97401e5cc1fdfa2a8caa3fc80edc56cd58262d3de010e803f8d3640f |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/299/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 |