Title: `purescript-ref` doesn't compile due to foreign exports mismatching format · Issue #29 · purescript-lua/purescript-lua · GitHub
Open Graph Title: `purescript-ref` doesn't compile due to foreign exports mismatching format · Issue #29 · purescript-lua/purescript-lua
X Title: `purescript-ref` doesn't compile due to foreign exports mismatching format · Issue #29 · purescript-lua/purescript-lua
Description: On the one side it does expect that, on the other side it does not wrap their exports in the parentheses, violating it's own expectations. [info] Build succeeded. PS Lua: compiling ... Linker error: Error parsing foreign file "/home/user...
Open Graph Description: On the one side it does expect that, on the other side it does not wrap their exports in the parentheses, violating it's own expectations. [info] Build succeeded. PS Lua: compiling ... Linker error...
X Description: On the one side it does expect that, on the other side it does not wrap their exports in the parentheses, violating it's own expectations. [info] Build succeeded. PS Lua: compiling ... Linker e...
Opengraph URL: https://github.com/purescript-lua/purescript-lua/issues/29
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`purescript-ref` doesn't compile due to foreign exports mismatching format","articleBody":"On the one side it does expect that, on the other side it does not wrap their exports in the parentheses, violating it's own expectations.\r\n\r\n```\r\n[info] Build succeeded.\r\nPS Lua: compiling ...\r\nLinker error:\r\nError parsing foreign file \"/home/user/purescript-lua-template/.spago/refs/v6.0.1/src/Effect/Ref.lua\":\r\n/home/user/purescript-lua-template/.spago/refs/v6.0.1/src/Effect/Ref.lua:2:10:\r\n |\r\n2 | _new = function(val) return function() return {value = val} end end,\r\n | ^\r\nunexpected 'f'\r\nexpecting '(' or white space\r\n```\r\nWrapping value in the parentheses would indeed work:\r\n```\r\n _new = (function(val) return function() return {value = val} end end),\r\n```","author":{"url":"https://github.com/Renegatto","@type":"Person","name":"Renegatto"},"datePublished":"2024-08-26T14:46:47Z","url":"https://github.com/purescript-lua/purescript-lua/issues/29"}
| 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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1f7bdcd4-113b-d40a-97bb-c6d453541587 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9CE8:1EC9BC:A50D56:D3B00F:6B00F4C2 |
| html-safe-nonce | 22d744b3bac1b0f239668c2b43283683525f4354cebe6971fccc0a4c89fca133 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0U4OjFFQzlCQzpBNTBENTY6RDNCMDBGOjZCMDBGNEMyIiwidmlzaXRvcl9pZCI6IjY2NTQ1Mjk2NTM0MTMzMTE2ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b72e2cb649f7dc52802d48e178b718092d2ab231097f07004d1ce58ab882f147 |
| hovercard-subject-tag | issue:2487055940 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/purescript-lua/purescript-lua/29/issue_layout |
| twitter:image | https://opengraph.githubassets.com/381ca893491955462f52422b566aa62a72ac9af9c74523fd7ebe50b6607ce610/purescript-lua/purescript-lua/issues/29 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/381ca893491955462f52422b566aa62a72ac9af9c74523fd7ebe50b6607ce610/purescript-lua/purescript-lua/issues/29 |
| og:image:alt | On the one side it does expect that, on the other side it does not wrap their exports in the parentheses, violating it's own expectations. [info] Build succeeded. PS Lua: compiling ... Linker error... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Renegatto |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc |
| turbo-cache-control | no-preview |
| 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 | 9983dd5da06943f833c971dd5b6bc988e2858be5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width