Skip to content

Fix Semigroup.lua/concatArray failing at runtime#4

Merged
Unisay merged 2 commits into
purescript-lua:masterfrom
Renegatto:patch-2
Jun 14, 2026
Merged

Fix Semigroup.lua/concatArray failing at runtime#4
Unisay merged 2 commits into
purescript-lua:masterfrom
Renegatto:patch-2

Conversation

@Renegatto

@Renegatto Renegatto commented Oct 24, 2025

Copy link
Copy Markdown

Description of the change

table.concat: ([String], String, Int, Int) -> String

Have not concatenated arrays, it is rather some equivalent of Array.prototype.join in JS.
The PR implements proper arrays concatenation instead.


Checklist:

  • Added the change to the changelog's "Unreleased" section with a reference to this PR (e.g. "- Made a change (#0000)")
  • Linked any existing issues or proposals that this pull request should close
  • Updated or added relevant documentation
  • Added a test for the contribution (if applicable)

…enation

concatArray: ([String], String, Int, Int) -> String

does not concatenate arrays, it is rather some equivalent of Array.prototype.join in JS.
@Renegatto Renegatto marked this pull request as ready for review October 24, 2025 23:50
@Unisay Unisay merged commit 2e23f64 into purescript-lua:master Jun 14, 2026
@Unisay Unisay mentioned this pull request Jun 14, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants