-
Notifications
You must be signed in to change notification settings - Fork 56
Comparing changes
Open a pull request
base repository: purescript/purescript-foldable-traversable
base: master
head repository: purescript-lua/purescript-lua-foldable-traversable
compare: master
- 15 commits
- 35 files changed
- 5 contributors
Commits on Apr 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1102dc5 - Browse repository at this point
Copy the full SHA 1102dc5View commit details
Commits on Mar 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 18a7d55 - Browse repository at this point
Copy the full SHA 18a7d55View commit details
Commits on Oct 25, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 6607e57 - Browse repository at this point
Copy the full SHA 6607e57View commit details -
Fix: consider array indexing starting from 1 in lua
Traverse used JS implementation which is OK except that the array indexing was starting from 0.
Configuration menu - View commit details
-
Copy full SHA for c129cb5 - Browse repository at this point
Copy the full SHA c129cb5View commit details
Commits on Jun 14, 2026
-
Merge pull request #2 from Renegatto/alexey/fix-append
Fix `traverse` failing at runtime
Configuration menu - View commit details
-
Copy full SHA for 15afbd7 - Browse repository at this point
Copy the full SHA 15afbd7View commit details -
chore: finalize traverse fix — mapWithIndex, regression test, tooling
Follows the merged traverse fix (#2 by @Renegatto). On top of it: - Fix mapWithIndexArray: it passed the 1-based Lua loop index to f, but PureScript mapWithIndex is 0-based, so f received i instead of i-1 (originally reported in #1 by @sarahnya). - Add a focused regression suite (test-regression/) run by scripts/test: traverse over Maybe is length/order-preserving at every size (>3 hits the pivot/append branch, which needs the Array Semigroup fix shipped in prelude v7.2.2), traverse over the Array applicative, and 0-based mapWithIndex. - Align tooling: purescript-overlay dev shell on Lua 5.1 (drops easy-ps / insecure nodejs), canonical nix CI replacing the bower workflow, fail-fast scripts, and bump the package set to psc-0.15.15-20260614 (prelude v7.2.2). Supersedes the earlier normalization PR #3. Closes #1
Configuration menu - View commit details
-
Copy full SHA for 2ca0161 - Browse repository at this point
Copy the full SHA 2ca0161View commit details -
Merge pull request #4 from Unisay/chore/finalize-traverse
chore: finalize traverse fix — mapWithIndex, regression test, tooling alignment
Configuration menu - View commit details
-
Copy full SHA for 78a544d - Browse repository at this point
Copy the full SHA 78a544dView commit details -
chore: align CI to hardened canon, add AGENTS.md + CLAUDE.md
CI: drop accept-flake-config (supply-chain risk; caches already pinned), run luacheck with --std lua51 --no-unused-args (matches the Lua 5.1 target and the curried-FFI idiom), invoke the test step via bash so it no longer needs the execute bit. AGENTS.md is the single instruction file the coding agents read natively; CLAUDE.md is a one-line @AGENTS.md import so Claude Code shares it. Also removes dead JavaScript-era package files. Tooling and docs only, no src/.
Configuration menu - View commit details
-
Copy full SHA for 3ea587c - Browse repository at this point
Copy the full SHA 3ea587cView commit details -
Merge pull request #5 from Unisay/chore/agents-md-and-canon-ci
chore: align CI to the hardened canon, add AGENTS.md
Configuration menu - View commit details
-
Copy full SHA for 72d75f5 - Browse repository at this point
Copy the full SHA 72d75f5View commit details -
chore: point pslua + package-set links at purescript-lua org
Repos moved from Unisay/* to the purescript-lua org. Update the pslua flake input and lockfile owner (same rev 94c13ce), the packages.dhall upstream-lua release URL, and the AGENTS.md links, so nothing relies on the old-owner redirect.
Configuration menu - View commit details
-
Copy full SHA for 76cb103 - Browse repository at this point
Copy the full SHA 76cb103View commit details -
Merge pull request #6 from purescript-lua/chore/migrate-org-links
chore: point pslua + package-set links at purescript-lua org
Configuration menu - View commit details
-
Copy full SHA for 7275430 - Browse repository at this point
Copy the full SHA 7275430View commit details -
chore: add treefmt formatting (nix fmt) and format the tree
Wire treefmt via treefmt-nix: nixfmt, dhall format, purs-tidy (.tidyrc.json) and LuaFormatter for the FFI (.lua-format, kept over StyLua because it preserves the parentheses pslua's parser needs). `nix fmt` formats; the dev shell installs a content-based pre-commit hook and CI runs `nix fmt && git diff --exit-code` (content-based, since the in-place formatters bump mtime and would trip treefmt --fail-on-change). Lua lines budget 130 cols, matching the raised `luacheck --max-line-length`. The bulk of the diff is the first format pass.
Configuration menu - View commit details
-
Copy full SHA for 08d9714 - Browse repository at this point
Copy the full SHA 08d9714View commit details
Commits on Jun 15, 2026
-
Merge pull request #7 from purescript-lua/chore/treefmt
chore: add treefmt formatting (nix fmt + pre-commit + CI check)
Configuration menu - View commit details
-
Copy full SHA for 5fb83f6 - Browse repository at this point
Copy the full SHA 5fb83f6View commit details -
chore: harden pre-commit hook (tracked .githooks/ + core.hooksPath)
Replace the dev-shell installer that wrote .git/hooks/pre-commit with a tracked .githooks/pre-commit wired via `git config core.hooksPath .githooks`. Fixes three issues with the old hook: it gated on `[ -d .git ]` (false in worktrees/submodules where .git is a file), it clobbered any existing .git/hooks/pre-commit on every `nix develop`, and `nix fmt … || exit 0` swallowed real formatter failures. The new hook skips only when `nix` is absent (CI is the authoritative gate) and otherwise blocks on a `nix fmt` failure or reformat.
Configuration menu - View commit details
-
Copy full SHA for a35bc5d - Browse repository at this point
Copy the full SHA a35bc5dView commit details -
chore: bump pslua dev input to 62e3653
Toolchain consistency: pin the pslua dev flake input to the current compiler main across the ecosystem. flake.lock only; the package set consumes sources + FFI, not this dev input, so no re-tag is needed.
Configuration menu - View commit details
-
Copy full SHA for 7ac4982 - Browse repository at this point
Copy the full SHA 7ac4982View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...master