Skip to content

Add setTypedArray and setTypedArrayFrom#7691

Closed
hackwaly wants to merge 1 commit into
rescript-lang:masterfrom
hackwaly:patch-1
Closed

Add setTypedArray and setTypedArrayFrom#7691
hackwaly wants to merge 1 commit into
rescript-lang:masterfrom
hackwaly:patch-1

Conversation

@hackwaly

Copy link
Copy Markdown

Allow typed array as argument of set.

@pkg-pr-new

pkg-pr-new Bot commented Jul 21, 2025

Copy link
Copy Markdown

Open in StackBlitz

rescript

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

@rescript/darwin-arm64

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

@rescript/darwin-x64

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

@rescript/linux-arm64

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

@rescript/linux-x64

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

@rescript/win32-x64

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

commit: 45af478

@nojaf

nojaf commented Jul 22, 2025

Copy link
Copy Markdown
Member

Hi @hackwaly, thank you for this contribution!
We are in the process of raising the bar a bit for our documentation in StdLib.
Could you add a doc comment with an example as well?

See https://github.com/rescript-lang/rescript/pull/7562/files

The ## Examples will actually be compiled as part of a unit test so we know the binding works.

@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions Bot added the stale Old issues that went stale label Jul 18, 2026
@hackwaly hackwaly closed this Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale Old issues that went stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants