René's URL Explorer Experiment


Title: Fold Record.Unsafe surgery over statically-known records and erase unsafeCoerce by Unisay · Pull Request #304 · purescript-lua/purescript-lua · GitHub

Open Graph Title: Fold Record.Unsafe surgery over statically-known records and erase unsafeCoerce by Unisay · Pull Request #304 · purescript-lua/purescript-lua

X Title: Fold Record.Unsafe surgery over statically-known records and erase unsafeCoerce by Unisay · Pull Request #304 · purescript-lua/purescript-lua

Description: Closes #236. What Two complementary changes fold foreign record operations and identity coercions that the optimizer previously treated as opaque calls. A handwritten semantic-rewrite layer for Record.Unsafe (Language.PureScript.Backend.IR.RecordSurgery). The source-derived foreign lift (ForeignLift, #178) translates pure FFI bodies into IR so the optimizer can see through them, but Record.Unsafe's bodies are outside its translatable subset: unsafeGet/unsafeHas index a table by a dynamic key (an IR field read needs a static property name), and unsafeSet/unsafeDelete copy their record with a pairs loop. Their semantics are instead restated by hand as a rewrite rule keyed by qualified name and application-spine shape, registered in the optimizer's rewrite fixpoints. Unlike the lift, a handwritten registry can drift from the package set, so it is kept deliberately tiny and the golden eval oracles pin the shipped prelude's behaviour. Unsafe.Coerce.unsafeCoerce joins the ForeignLift allowlist. The issue grouped identity foreigns with the handwritten layer, but unsafeCoerce's body (function(x) return x end) is inside the liftable subset, and the lift is the strictly better mechanism: drift-proof by construction (it reads the fork source and errors if the shape changes), and the lifted λx. x is marked inline-always, so beta reduction erases the coercion at every applied site and dead-code elimination drops the module's FFI table from the output entirely. The folds and their soundness conditions With a static label, unsafeGet l r rewrites to a direct field read for any record operand — the read is the call's entire body, so nothing about r needs to be known — and the existing projection folds (reduceObjectProp) collapse it further when the operand is manifest. The copying surgeries fold only on a manifest record literal, where the fork FFI's fresh copy is observationally the rewritten literal itself: unsafeSet l v {…} becomes the literal with the field replaced in place or appended (one table allocation instead of two), unsafeDelete l {…} the literal without the field, and unsafeHas l {…} a boolean literal (sound because no PureScript value is represented as nil — the same ecosystem invariant that keeps values storable in Lua tables). A surgery on a record the optimizer cannot see through is left as the foreign call. A label folds only when the Lua lowering keeps it verbatim: generated tables key record fields through makeSafe (which renames reserved words and non-identifiers), while the foreign call looks up the raw string at runtime, so folding a mangled label would read a different key than the call it replaces. Reserved words, non-identifiers, and non-ASCII labels decline. Scope note: Record.Builder deferred The issue also names Record.Builder.unsafeInsert/unsafeModify/unsafeDelete/copyRecord and Record.Unsafe.Union.unsafeUnionFn (from the record package). Those entries are deliberately not in this registry: the package set carries no Lua fork of record, so there is no FFI source to anchor the entries against and no way to exercise them end-to-end, and upstream's Builder primitives mutate their record in place, which makes the issue's proposed unconditional copyRecord r → r unsound if a future fork mirrors upstream (erasing the defensive copy would let builder steps mutate the caller's record). Extending the registry once a Lua record fork exists — with pure-copy FFI as a design constraint — is filed as a follow-up. Before / after Golden.RecordSurgery.Test (new golden, pinned pre-change in the first commit), surgery on manifest literals, verbatim from golden.lua: -- before local Golden_RecordSurgery_Test_inserted = Record_Unsafe_unsafeSet("b")(2)({ a = 1 }) local Golden_RecordSurgery_Test_got = Record_Unsafe_unsafeGet("a")({ a = 42 }) local Golden_RecordSurgery_Test_coerced = Unsafe_Coerce_foreign.unsafeCoerce(7) -- after M.Golden_RecordSurgery_Test_inserted = { a = 1, b = 2 } -- got/coerced fold to the constants 42 and 7 at their use sites Surgery on a record read out of a Ref (opaque): unsafeGet strength-reduces to a field read, the copying surgeries stay calls: -- before logShow(Record_Unsafe_unsafeGet("k")(Record_Unsafe_unsafeSet("k")(Record_Unsafe_unsafeGet("k")(dyn_S_1) + 1)(dyn_S_1)))() -- after logShow((Record_Unsafe_foreign.unsafeSet("k")(dyn_S_1.k + 1)(dyn_S_1)).k)() The unsafeGet row also drops out of the emitted FFI table (every site folded), as does the whole Unsafe_Coerce_foreign table wherever unsafeCoerce was applied — e.g. Golden.LongReaderBind.Test: -- before local Unsafe_Coerce_foreign = { unsafeCoerce = function(x) return x end } local Golden_LongReaderBind_Test_compute = Unsafe_Coerce_foreign.unsafeCoerce(9) -- after local Golden_LongReaderBind_Test_compute = 9 26 golden modules move (net −95 lines of generated Lua); every hand-verified eval oracle is byte-identical. Measurement Bench.RecordSet (new macro benchmark, counters pinned pre-change in the first commit) builds a record per element via unsafeSet on a manifest two-field literal and reads it back across a function boundary. The committed LuaJIT counter censuses show the allocation drop — function-body TNEW+TDUP 4 → 3 (the copy loop's allocation is gone; the per-element build is now the single literal { a = i, b = i + 1, c = i + 2 }), function-body FNEW 14 → 11, prototypes 23 → 18. Wall-clock on the same spec (median of the harness runs, n=1e6): LuaJIT 0.374s → 0.089s, PUC Lua 5.1 0.552s → 0.169s, identical results. Tests The first commit pins the pre-change shapes: the new golden module with a hand-written eval oracle, and the benchmark with its pre-fold counters — so this PR's second commit shows the improvement as a reviewable diff. Twelve focused optimizer unit tests cover each fold, the dissolved foreign-accessor head shape, and the decline cases (unknown record, dynamic label, mangled label, partial application); they were confirmed red before the implementation (8 of 12 failing, the decline cases hold vacuously). The optimizer-touching spec groups were seed-stressed 22 extra runs, all green.

Open Graph Description: Closes #236. What Two complementary changes fold foreign record operations and identity coercions that the optimizer previously treated as opaque calls. A handwritten semantic-rewrite layer for Rec...

X Description: Closes #236. What Two complementary changes fold foreign record operations and identity coercions that the optimizer previously treated as opaque calls. A handwritten semantic-rewrite layer for Rec...

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

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:26b3aad6-e2ce-b56a-efb3-1faaff43eb1f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC9DC:28815B:8CF27A:BDF1EB:6B00E4A0
html-safe-nonce4b9f27570ae06f6964acb02154018d5d5d2db9b295580ff820c6417eba781f1b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOURDOjI4ODE1Qjo4Q0YyN0E6QkRGMUVCOjZCMDBFNEEwIiwidmlzaXRvcl9pZCI6IjYxMDc2NjgzODExOTQ4MzkyMDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacea1c811f8f175feeeb5463ee2d675734c8d2434c82e98b08dac686ca45971b18
hovercard-subject-tagpull_request:4136475070
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/purescript-lua/purescript-lua/pull/304/files
twitter:imagehttps://avatars.githubusercontent.com/u/1009751?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1009751?s=400&v=4
og:image:altCloses #236. What Two complementary changes fold foreign record operations and identity coercions that the optimizer previously treated as opaque calls. A handwritten semantic-rewrite layer for Rec...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
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

Links:

Skip to contenthttps://github.com/purescript-lua/purescript-lua/pull/304/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript-lua%2Fpurescript-lua%2Fpull%2F304%2Ffiles
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%2F304%2Ffiles
Sign uphttps://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
Reloadhttps://github.com/purescript-lua/purescript-lua/pull/304/files
Reloadhttps://github.com/purescript-lua/purescript-lua/pull/304/files
Reloadhttps://github.com/purescript-lua/purescript-lua/pull/304/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fpurescript-lua%2Fpurescript-lua%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpurescript-lua%2Fpurescript-lua%2Fissues%2Fnew%2Fchoose
Unisayhttps://github.com/Unisay
mainhttps://github.com/purescript-lua/purescript-lua/tree/main
issue-236/record-surgery-rewriteshttps://github.com/purescript-lua/purescript-lua/tree/issue-236/record-surgery-rewrites
Conversation 0 https://github.com/purescript-lua/purescript-lua/pull/304
Commits 2 https://github.com/purescript-lua/purescript-lua/pull/304/commits
Checks 2 https://github.com/purescript-lua/purescript-lua/pull/304/checks
Files changed https://github.com/purescript-lua/purescript-lua/pull/304/files
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/304/files
Fold Record.Unsafe surgery over statically-known records and erase unsafeCoerce https://github.com/purescript-lua/purescript-lua/pull/304/files#top
Show all changes 2 commits https://github.com/purescript-lua/purescript-lua/pull/304/files
5c55f88 test(golden): pin the pre-#236 shapes of Record.Unsafe surgery Unisay Jul 26, 2026 https://github.com/purescript-lua/purescript-lua/pull/304/commits/5c55f880e0d5f6aa5ad27c9825be0b9c706b144c
e5ced27 feat(optimizer): fold Record.Unsafe surgery and lift unsafeCoerce Unisay Jul 26, 2026 https://github.com/purescript-lua/purescript-lua/pull/304/commits/e5ced275e83d2f6fddaafbd0adc655527502227b
Clear filters https://github.com/purescript-lua/purescript-lua/pull/304/files
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/304/files
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/304/files
fnew_Bench.RecordSet.txt https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-c06082bcd9db3565a2b0aa414dae311ff0d53151b361affd13ea35faa4f844cf
tnew_Bench.RecordSet.txt https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-4e15e6ce2202be7cc5d2ede3f12629f9efc63542169a41f116fc828cfee1dd66
trace_record_set.txt https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-04d70a2c30d235d3d1a48c156cbdeb4967ed0d11bb8c882dbd2160e6cac385da
record_set.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-223f227c8b1ea67506326d659dd1510c9a984f6a108cf4ec513ce7df38469e7a
20260726_150000_unisay_record_surgery_folds.md https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-f5e22d2f7467d0dc66ab3af0bc87c63efb1f5a742b3b7f4260086ddf01d26ec9
Optimizer.hs https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315
RecordSurgery.hs https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-ce0c5e7d10e3be4ab58e1ad302df725f38e22b8d60e7e94c79a2a22b4a99210d
ForeignLift.hs https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-04993d8007dd16f4e9ba39db94723d139ffaa8f44c2c3357cf86e2c62dfd6410
pslua.cabal https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-cf0302393cf6443df4429c19c0fc326753a83405d0366075a98ac2753e5e1ab2
Spec.hs https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-241ea2421c606c31b9414fb386f9f4d1beb60055ed792935b393101edfd7b949
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-69a9ccb2bea2e47b079058b88387a58dda0b8ad3a23e3100948844c4bd22f8f2
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-d14061e081c835eadc7c359ed265bb765b321b458d478c3ba1cd2706ffc1b91f
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-a7e45f2c9a63007fcc50e80ce23ae3b12b63bc6f37089a6332f5d45fa7c7e5f6
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-b3810270fb35179a8b788525d0c4d087f0b064b98df6067a6abcedb0c66335d9
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-e9287e106525c29e666639980280cfb8421f7bde1cae260d6ebf21cd3997bec8
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-289de990977dc24fdf966939be17fb4559f0388187efb409dde329eee536f747
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-6dd832f0599e4565be9fba3ebf138337f62b76ef432e4de9943388ca4b187b04
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-3058caa776257034fc5c6caf6cdcd1823934a0ed43d330ebdb6e26da662cf83e
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-eba9620c8d2b8c56b9251abc58b7505831f8499b1f53fad731c19446d5d29c2e
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-ed682b7874cb77c82d884b944cd048645092642e7fbac65460891338ad694785
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-1b5535623f46b914653ed9e5442fae77720527fa9c50e231324df3ede64caf63
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-fca93d3cfc4a9e907e10d93afc283a6d0c09351dbb80b3273e71fef56851d43c
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-cbb1b972839736658601bbee6059e002ea2a36bbeed1f407d41f597f6e2e453e
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-f943719d3e54c980d05ce8d70c52e063d34f21edfe9181c6eb2163757d0c686a
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-b3d35ac4539244a4144b23d703c439de0dc3c45b642f70979c085d8988537395
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-de9cc01bca01b7d30657c206f503b086d5a34c7c214e6db6ea028b7f2c5c9136
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-7a5e6ec2b228f8dd1754d9be1c4bc7b8a7a7da9664cfe3d699b951ef7571a65d
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-5d1488308753286a8e625bdfe9990357d9d69446fcca6f62f5e5fa24806b1c5b
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-d9019e1da7a5c2165e5a9d317eac11e22dfd56594b9eb9df93979f3211b81a89
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-7ff55b295e0250a51d186e57a6acc631a2e9c62ff2018301c9fed9f233c7dddc
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-060f38f5ecfff2ae036e099dad5d27c21eb38958b6f4b12ae9588a19765090e5
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-6c83dcd06227adf985a117c26f276373f15f72bb8d3a61a5673aba8e54d83e58
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-8be75600b729c24bd7e6da1875279fbeaf3c2cd9940eda1c1882b1f58b8269ad
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-eb900aa47a3a6fb8d5a7e6e38095800ee1d6e13997f9b8b2354bdcdebed12e65
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-91f0a71097f8703b938fa1dd66046d0029ac520fb925dda1a2f4b3da5ef6ccb4
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-7cb40758f0c4fe0117dcb551a917aaa5a04ec2c37fa895f3a24434fbda6f5d17
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-3006141b034eb94f2e88b5db2e09fd3a0fb2c4565719131fe516243bc24b92e8
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-8e7867f5f173ace42b15b122ecdf3ff80cec593e6931cb44edafb30838f1044a
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-34418e53398e71f9f3991f6108c7e3efe4031c294dd127d3531215598cec350f
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-f4d6b8c9c13f7caba9fcfd1d8302989a82ef8caa1bc9ebfa393fd60ef792c875
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-a7c115737c237f06d6f1ecc65eb41f0c79a6ea1bf8f45f9b0e0139fcf0acaf43
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-5441757817a5c8e93447d97fdef1f07f46280d369ab30f4757780c03660be4b6
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-f9e92b2ca6a22677b8999aa31b480ca203dc5a99aed5b28cc3bf561f0f632a5b
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-414ab0a0ac3c675e25343f168caf9f8dd6450109e8fea78bc704760ffd5a975c
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-ea89ea708c8e25a05b63283fb8d74820b2ce2219bd5484a5f8b7b9b4c3d2a659
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-4f0755e4e4caea3e293c097cbe735d371c163fa463fffab6dcb32535099b9029
corefn.json https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-4eb4630f1ec9e39866c5b538315fe4a856e03dcff0c1c76962c2d86c5c711603
.gitignore https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-4e24753fdb5a23a4417ed28e545b51d4f909b072f4371d226a7ed05494e2acba
golden.txt https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-dea172cb674657c295bc7bb15f0dc84edcc8db885716c51c8a955ee5ae9b85dd
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-cea9b6925a850165dfe6a324a661df9440d191ff00ac8c6fe0648b11e2612e32
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-1f6ed6ca2bb3ee97221993a2d4f5d32ec26ecf87b3fc3f5b1b2d0ecb457d08db
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-69a4ed0669e3d331c2f75a5c965227207473057c0b244b082665a6c722c7e6dc
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-86b98ca808da9e36c909687862754e31f093ebcfa407f44f41591e1ae7129a5a
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-5a8697c32b69161fd9b5f35c113e261ae0490d7cabdd203fe1e7d947d6452b40
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-071592f558dbea3b0d5dece641920d6e652b30971d89ff173826b816b2d67109
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-df535e1f7273af0cc86db20df55495de4552000d7bf2f3abb21f421d07947914
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-8f846c962c84e2efb0046e7848c15b3bac3e044be37a2d2ee0620f823f2e9b0f
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-943a6e999776e2a06a4d4209af7f89e9a8d977d6000c31c70ed84e781da2e2ff
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-56618fb442d7b6de74d0159576d795d225986345ac7840c4a3a8a3831cb98ad3
golden.ir https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-59228eb57afc923473dbd5b1f219c11f7811b5e775587a604de4293dbf8922e6
golden.lua https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-bdd6a9511df955f4252a051367856128627b9e22888fff57be1d79cdfa336503
RecordSet.purs https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-f858fdbf4cc75395a16b7891da4c78716537d53c911f023899d1a7c3f7450a00
Test.purs https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-b0e2a5ccfc58cffea6a7aee48ff2759b5634e6e20520e280301d57469f325b30
bench/goldens/fnew_Bench.RecordSet.txthttps://github.com/purescript-lua/purescript-lua/pull/304/files#diff-c06082bcd9db3565a2b0aa414dae311ff0d53151b361affd13ea35faa4f844cf
View file https://github.com/purescript-lua/purescript-lua/blob/e5ced275e83d2f6fddaafbd0adc655527502227b/bench/goldens/fnew_Bench.RecordSet.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/purescript-lua/purescript-lua/pull/304/{{ revealButtonHref }}
bench/goldens/tnew_Bench.RecordSet.txthttps://github.com/purescript-lua/purescript-lua/pull/304/files#diff-4e15e6ce2202be7cc5d2ede3f12629f9efc63542169a41f116fc828cfee1dd66
View file https://github.com/purescript-lua/purescript-lua/blob/e5ced275e83d2f6fddaafbd0adc655527502227b/bench/goldens/tnew_Bench.RecordSet.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/purescript-lua/purescript-lua/pull/304/{{ revealButtonHref }}
bench/goldens/trace_record_set.txthttps://github.com/purescript-lua/purescript-lua/pull/304/files#diff-04d70a2c30d235d3d1a48c156cbdeb4967ed0d11bb8c882dbd2160e6cac385da
View file https://github.com/purescript-lua/purescript-lua/blob/e5ced275e83d2f6fddaafbd0adc655527502227b/bench/goldens/trace_record_set.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/purescript-lua/purescript-lua/pull/304/{{ revealButtonHref }}
bench/macro/record_set.luahttps://github.com/purescript-lua/purescript-lua/pull/304/files#diff-223f227c8b1ea67506326d659dd1510c9a984f6a108cf4ec513ce7df38469e7a
View file https://github.com/purescript-lua/purescript-lua/blob/e5ced275e83d2f6fddaafbd0adc655527502227b/bench/macro/record_set.lua
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/purescript-lua/purescript-lua/pull/304/{{ revealButtonHref }}
changelog.d/20260726_150000_unisay_record_surgery_folds.mdhttps://github.com/purescript-lua/purescript-lua/pull/304/files#diff-f5e22d2f7467d0dc66ab3af0bc87c63efb1f5a742b3b7f4260086ddf01d26ec9
View file https://github.com/purescript-lua/purescript-lua/blob/e5ced275e83d2f6fddaafbd0adc655527502227b/changelog.d/20260726_150000_unisay_record_surgery_folds.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/purescript-lua/purescript-lua/pull/304/{{ revealButtonHref }}
lib/Language/PureScript/Backend/IR/Optimizer.hshttps://github.com/purescript-lua/purescript-lua/pull/304/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315
View file https://github.com/purescript-lua/purescript-lua/blob/e5ced275e83d2f6fddaafbd0adc655527502227b/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/304/{{ revealButtonHref }}
https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315
https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315
https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315
https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315
lib/Language/PureScript/Backend/IR/RecordSurgery.hshttps://github.com/purescript-lua/purescript-lua/pull/304/files#diff-ce0c5e7d10e3be4ab58e1ad302df725f38e22b8d60e7e94c79a2a22b4a99210d
View file https://github.com/purescript-lua/purescript-lua/blob/e5ced275e83d2f6fddaafbd0adc655527502227b/lib/Language/PureScript/Backend/IR/RecordSurgery.hs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/purescript-lua/purescript-lua/pull/304/{{ revealButtonHref }}
lib/Language/PureScript/Backend/Lua/ForeignLift.hshttps://github.com/purescript-lua/purescript-lua/pull/304/files#diff-04993d8007dd16f4e9ba39db94723d139ffaa8f44c2c3357cf86e2c62dfd6410
View file https://github.com/purescript-lua/purescript-lua/blob/e5ced275e83d2f6fddaafbd0adc655527502227b/lib/Language/PureScript/Backend/Lua/ForeignLift.hs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/purescript-lua/purescript-lua/pull/304/{{ revealButtonHref }}
https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-04993d8007dd16f4e9ba39db94723d139ffaa8f44c2c3357cf86e2c62dfd6410
https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-04993d8007dd16f4e9ba39db94723d139ffaa8f44c2c3357cf86e2c62dfd6410
https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-04993d8007dd16f4e9ba39db94723d139ffaa8f44c2c3357cf86e2c62dfd6410
https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-04993d8007dd16f4e9ba39db94723d139ffaa8f44c2c3357cf86e2c62dfd6410
pslua.cabalhttps://github.com/purescript-lua/purescript-lua/pull/304/files#diff-cf0302393cf6443df4429c19c0fc326753a83405d0366075a98ac2753e5e1ab2
View file https://github.com/purescript-lua/purescript-lua/blob/e5ced275e83d2f6fddaafbd0adc655527502227b/pslua.cabal
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/purescript-lua/purescript-lua/pull/304/{{ revealButtonHref }}
https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-cf0302393cf6443df4429c19c0fc326753a83405d0366075a98ac2753e5e1ab2
https://github.com/purescript-lua/purescript-lua/pull/304/files#diff-cf0302393cf6443df4429c19c0fc326753a83405d0366075a98ac2753e5e1ab2
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/304/files
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.