Skip to content

Conversation

fhammerschmidt
Copy link
Member

@fhammerschmidt fhammerschmidt commented Sep 11, 2025

There is filterWithIndex, there is filterMap but I really missed filterMapWithIndex so here it is!

@fhammerschmidt fhammerschmidt changed the title Stdlib: Add filterMapWithIndex Stdlib: Add Array.filterMapWithIndex Sep 11, 2025
@nojaf
Copy link
Member

nojaf commented Sep 11, 2025

Run make test-analysis I think.

@fhammerschmidt fhammerschmidt force-pushed the array-filter-map-with-index branch from 3396e36 to ee6b0b8 Compare September 11, 2025 13:27
Copy link

pkg-pr-new bot commented Sep 11, 2025

Open in StackBlitz

rescript

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

@rescript/darwin-arm64

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

@rescript/darwin-x64

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

@rescript/linux-arm64

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

@rescript/linux-x64

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

@rescript/runtime

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

@rescript/win32-x64

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

commit: 732998f

@fhammerschmidt fhammerschmidt merged commit 674cc9e into master Sep 11, 2025
25 checks passed
@fhammerschmidt fhammerschmidt deleted the array-filter-map-with-index branch September 11, 2025 13:42
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.

3 participants