rescript-compiler icon indicating copy to clipboard operation
rescript-compiler copied to clipboard

[Belt] Vector

Open IwanKaramazow opened this issue 7 years ago • 3 comments

Low prio feature request: the Js namespace has a Vector module. Should it be moved to Belt? It would be a great enhancement if Belt could expose a Vector type (either mutable or immutable).

IwanKaramazow avatar May 01 '18 17:05 IwanKaramazow

The main concern (for mutable vector) is that vector would be hard to implement in native with similar interface -- since in ocaml native it would require some initial value to fill

bobzhang avatar May 06 '18 13:05 bobzhang

We can always start with an immutable one

chenglou avatar May 13 '18 15:05 chenglou

I’m maintaining immutable one.

https://github.com/reason-seoul/rescript-collection/tree/main/packages/vector

I can make a PR, if you are interested.

namenu avatar Sep 21 '21 20:09 namenu

This issue 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.

stale[bot] avatar Sep 16 '23 22:09 stale[bot]