Skip to content

Port Belt.Array's zip, zipBy, partition, unzip to Stdlib Array#8244

Merged
shulhi merged 4 commits intorescript-lang:masterfrom
shulhi:stdlib-array-port-functions
Feb 27, 2026
Merged

Port Belt.Array's zip, zipBy, partition, unzip to Stdlib Array#8244
shulhi merged 4 commits intorescript-lang:masterfrom
shulhi:stdlib-array-port-functions

Conversation

@shulhi
Copy link
Member

@shulhi shulhi commented Feb 12, 2026

Missing these functions from Belt.

@shulhi shulhi marked this pull request as ready for review February 12, 2026 13:41
@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 12, 2026

Open in StackBlitz

rescript

npm i https://pkg.pr.new/rescript-lang/rescript@8244

@rescript/darwin-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-arm64@8244

@rescript/darwin-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/darwin-x64@8244

@rescript/linux-arm64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-arm64@8244

@rescript/linux-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/linux-x64@8244

@rescript/runtime

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/runtime@8244

@rescript/win32-x64

npm i https://pkg.pr.new/rescript-lang/rescript/@rescript/win32-x64@8244

commit: 46be23b

@cknitt
Copy link
Member

cknitt commented Feb 26, 2026

@shulhi Thanks! I think these are useful additions.

Could you add a CHANGELOG entry?
@zth Ok for you to add these?

@shulhi shulhi merged commit 27b7702 into rescript-lang:master Feb 27, 2026
26 checks passed
@shulhi shulhi deleted the stdlib-array-port-functions branch February 27, 2026 06:43
cknitt pushed a commit that referenced this pull request Feb 27, 2026
* Port Belt.Array's zip, zipBy, partition, unzip to Stdlib Array

* Update completion test

* Update CHANGELOG

* Missed the PR link
# Conflicts:
#	packages/@rescript/runtime/lib/es6/Stdlib_Array.js
#	packages/@rescript/runtime/lib/js/Stdlib_Array.js
cknitt pushed a commit that referenced this pull request Feb 27, 2026
* Port Belt.Array's zip, zipBy, partition, unzip to Stdlib Array

* Update completion test

* Update CHANGELOG

* Missed the PR link
# Conflicts:
#	packages/@rescript/runtime/lib/es6/Stdlib_Array.js
#	packages/@rescript/runtime/lib/js/Stdlib_Array.js
cknitt pushed a commit that referenced this pull request Feb 27, 2026
* Port Belt.Array's zip, zipBy, partition, unzip to Stdlib Array

* Update completion test

* Update CHANGELOG

* Missed the PR link
# Conflicts:
#	packages/@rescript/runtime/lib/es6/Stdlib_Array.js
#	packages/@rescript/runtime/lib/js/Stdlib_Array.js
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