The purescript-lua-coroutine fork is an early import (two commits: initial sources + a README) that was never modernised alongside the rest of the ecosystem. It currently fails to build against the current pslua compiler and is not part of the published package set.
Current state
- Pins ancient package sets in
packages.dhall: upstream-ps at psc-0.15.9-20230629 and upstream-lua at a 2023 release under the old Unisay/ org (Unisay/purescript-lua-package-sets psc-0.15.9-20230706).
- Through that stale set it resolves
prelude v6.0.2, whose Data/Unit.lua ships return {unit = nil}. The current pslua linker rejects it:
Error parsing foreign file ".../prelude/v6.0.2/src/Data/Unit.lua":
| return {unit = nil}
| ^ unexpected 'n', expecting '(' or white space
This is the unit = nil → unit = {} change (prelude >= v7.2.0); on the current prelude it goes away.
- No ecosystem canon: no
treefmt.nix, no .githooks/, no .github/workflows/ (CI), no AGENTS.md.
- Not present in
purescript-lua-package-sets src/packages.dhall.
Production-readiness checklist
Surfaced while bumping the pslua dev input across the ecosystem: the rollout build gate caught coroutine and skipped it (reverted its lock), so its main branch is unchanged.
The
purescript-lua-coroutinefork is an early import (two commits: initial sources + a README) that was never modernised alongside the rest of the ecosystem. It currently fails to build against the current pslua compiler and is not part of the published package set.Current state
packages.dhall:upstream-psatpsc-0.15.9-20230629andupstream-luaat a 2023 release under the oldUnisay/org (Unisay/purescript-lua-package-setspsc-0.15.9-20230706).prelude v6.0.2, whoseData/Unit.luashipsreturn {unit = nil}. The current pslua linker rejects it:This is the
unit = nil→unit = {}change (prelude >= v7.2.0); on the current prelude it goes away.treefmt.nix, no.githooks/, no.github/workflows/(CI), noAGENTS.md.purescript-lua-package-setssrc/packages.dhall.Production-readiness checklist
packages.dhallto the current sets (latestpurescript/package-sets+ latestpurescript-lua/purescript-lua-package-setsrelease); drop thesha256:annotations so spago re-freezes.spago build); theunit = nillinker error should resolve on the current prelude.treefmt.nix(nix fmt), tracked.githooks/pre-commit+core.hooksPath, a CI workflow,AGENTS.md, and the org-link migration (Unisay/->purescript-lua/).psluaflake input to current main, for consistency with the rest of the forks.scripts/build+scripts/testand luacheck the generated Lua.coroutinetopurescript-lua-package-setssrc/packages.dhall.Surfaced while bumping the
psluadev input across the ecosystem: the rollout build gate caught coroutine and skipped it (reverted its lock), so itsmainbranch is unchanged.