Title: [fork-ffi] console: group, groupCollapsed and groupEnd are missing from the fork · Issue #268 · purescript-lua/purescript-lua · GitHub
Open Graph Title: [fork-ffi] console: group, groupCollapsed and groupEnd are missing from the fork · Issue #268 · purescript-lua/purescript-lua
X Title: [fork-ffi] console: group, groupCollapsed and groupEnd are missing from the fork · Issue #268 · purescript-lua/purescript-lua
Description: Problem Upstream purescript-console v6.1.0 exports group, groupCollapsed and groupEnd (all Effect foreigns). The Lua fork ships v6.1.x but has none of them, so code written against the registry package fails to compile against the fork. ...
Open Graph Description: Problem Upstream purescript-console v6.1.0 exports group, groupCollapsed and groupEnd (all Effect foreigns). The Lua fork ships v6.1.x but has none of them, so code written against the registry pac...
X Description: Problem Upstream purescript-console v6.1.0 exports group, groupCollapsed and groupEnd (all Effect foreigns). The Lua fork ships v6.1.x but has none of them, so code written against the registry pac...
Opengraph URL: https://github.com/purescript-lua/purescript-lua/issues/268
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[fork-ffi] console: group, groupCollapsed and groupEnd are missing from the fork","articleBody":"## Problem\n\nUpstream `purescript-console` v6.1.0 exports `group`, `groupCollapsed` and `groupEnd` (all `Effect` foreigns). The Lua fork ships v6.1.x but has none of them, so code written against the registry package fails to compile against the fork. Found by the #186 audit's upstream diff; console is otherwise foreign-for-foreign identical to upstream.\n\n## Approach\n\nConsole grouping has no direct terminal equivalent, so mirror the JS semantics approximately rather than exactly: keep an indentation level in the FFI module, have `group`/`groupCollapsed` print the label and increase it, `groupEnd` decrease it, and prefix `log`/`warn`/`error` output with the current indent. A plain no-op-indent implementation is also acceptable if the maintenance cost of stateful output is not wanted: the point is API completeness, not console fidelity. Add regression coverage, release a patch, bump the set.\n\n## Prerequisites / Relations\n\nNone blocking. Found by the #186 audit's upstream diff (closed). Ships as a console fork patch release plus a package-set bump.\n\n## Verification / Measurement\n\nA program using `group`/`groupEnd` compiles against the fork, and the regression test pins whichever output behaviour is chosen.\n","author":{"url":"https://github.com/Unisay","@type":"Person","name":"Unisay"},"datePublished":"2026-07-13T13:53:50Z","url":"https://github.com/purescript-lua/purescript-lua/issues/268"}
| 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:024e6842-54cc-334c-5555-de13da9ebb5b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E9E0:2E7EBB:452E21:58F963:6B00D540 |
| html-safe-nonce | 873601efddde38582057319e38c21dcbb9bb498b9c90cfe7c7b4f9aacb810b68 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUUwOjJFN0VCQjo0NTJFMjE6NThGOTYzOjZCMDBENTQwIiwidmlzaXRvcl9pZCI6IjM4NTM5NTUxOTM5Mzg5NTc2MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 92f37625e699c7e0f0fa25641824e1abcb11b7d9ae4ba1df4948133b11b01555 |
| hovercard-subject-tag | issue:4874300766 |
| 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/268/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b022662dc36d92304d65332a4649ac4c6d592501da5a9043c3701f1b09453a3b/purescript-lua/purescript-lua/issues/268 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b022662dc36d92304d65332a4649ac4c6d592501da5a9043c3701f1b09453a3b/purescript-lua/purescript-lua/issues/268 |
| og:image:alt | Problem Upstream purescript-console v6.1.0 exports group, groupCollapsed and groupEnd (all Effect foreigns). The Lua fork ships v6.1.x but has none of them, so code written against the registry pac... |
| 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 | a481f62a1e04c9b9bdcb5628230682c66d59006f5b13b080f79cba84a176905b |
| 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 | 84c8c5cc25e2fb7f2308428458538436baecc6d2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width