# \#array

**URL:** https://discuss.ocaml.org/tag/array/347.md

[Latest](https://discuss.ocaml.org/latest.md) · [Categories](https://discuss.ocaml.org/categories.md) · [Tags](https://discuss.ocaml.org/tags.md)

---

## [Adding indexed variants of all functions in stdlib](https://discuss.ocaml.org/t/adding-indexed-variants-of-all-functions-in-stdlib/12792)

<div class="topic-metadata">

**Author:** [@glen](https://discuss.ocaml.org/u/glen)\
**Replies:** 6\
**Last updated:** [August 11, 2023, 9:26am UTC](https://discuss.ocaml.org/t/adding-indexed-variants-of-all-functions-in-stdlib/12792 "2023-08-11T09:26:21Z")

</div>

I am thinking of adding index-aware variants of existing functions to the standard library. For instance, List.map has an indexed variant named List.mapi. Currently, only a minority of standard functions for which it wou…

---

## [Is it possible to write ref\_of\_array?](https://discuss.ocaml.org/t/is-it-possible-to-write-ref-of-array/10156)

<div class="topic-metadata">

**Author:** [@ghulette](https://discuss.ocaml.org/u/ghulette)\
**Replies:** 4\
**Last updated:** [July 12, 2022, 5:49am UTC](https://discuss.ocaml.org/t/is-it-possible-to-write-ref-of-array/10156 "2022-07-12T05:49:23Z")

</div>

Is there a good reason we can’t have a function that lets one treat an array cell as a ref? Like this: ref\_of\_array: 'a array -\> int -\> 'a ref I don’t see a semantic issue but maybe the runtime representation of arrays…

---

## [\[ANN\] carray.0.0.1](https://discuss.ocaml.org/t/ann-carray-0-0-1/9938)

<div class="topic-metadata">

**Author:** [@dannywillems](https://discuss.ocaml.org/u/dannywillems)\
**Replies:** 16\
**Last updated:** [June 16, 2022, 12:10pm UTC](https://discuss.ocaml.org/t/ann-carray-0-0-1/9938 "2022-06-16T12:10:19Z")

</div>

Hi everyone, I’m glad to announce the first (experimental) release of ocaml-carray, a library mocking the Array interface to work with contiguous C array. Disclaimer: this first version is experimental and must be used…

---

## [\[ANN\] agrid 0.1](https://discuss.ocaml.org/t/ann-agrid-0-1/7587)

<div class="topic-metadata">

**Author:** [@ancolie](https://discuss.ocaml.org/u/ancolie)\
**Replies:** 2\
**Last updated:** [April 3, 2021, 3:07pm UTC](https://discuss.ocaml.org/t/ann-agrid-0-1/7587 "2021-04-03T15:07:53Z")

</div>

Hi, I’m pleased to announce the first release of agrid. Agrid stands for Adjustable Grid. Adjustable grids are basically two dimensional arrays whose width/height can be changed by adding or removing row/column at eith…

---

## [How OCaml creates an arrry](https://discuss.ocaml.org/t/how-ocaml-creates-an-arrry/7133)

<div class="topic-metadata">

**Author:** [@Jazz](https://discuss.ocaml.org/u/Jazz)\
**Replies:** 2\
**Last updated:** [January 22, 2021, 6:14am UTC](https://discuss.ocaml.org/t/how-ocaml-creates-an-arrry/7133 "2021-01-22T06:14:11Z")

</div>

Hi, I am very new to OCaml and have been learning basic stuff lately. I found the following in standard lib source ‘array.ml’. external create: int -\> 'a -\> 'a array = "caml\_make\_vect" I assume that ‘external’ means c…

---

## [About the Unboxed Float Arrays proposal](https://discuss.ocaml.org/t/about-the-unboxed-float-arrays-proposal/4970)

<div class="topic-metadata">

**Author:** [@UnixJunkie](https://discuss.ocaml.org/u/UnixJunkie)\
**Replies:** 3\
**Last updated:** [January 8, 2020, 8:00am UTC](https://discuss.ocaml.org/t/about-the-unboxed-float-arrays-proposal/4970 "2020-01-08T08:00:23Z")

</div>

I just stumbled upon this: https://www.lexifi.com/ocaml/about-unboxed-float-arrays/ Was this proposal considered? Would it make array-using programs more efficient and memory-savy? If so, that sounds quite interestin…
