# \#arrays-proposal

**URL:** https://racket.discourse.group/tag/arrays-proposal/251.md

[Latest](https://racket.discourse.group/latest.md) · [Categories](https://racket.discourse.group/categories.md) · [Tags](https://racket.discourse.group/tags.md)

---

## [Arrays proposal: Order of operations in array-indexes-set! and array-slice-set!?](https://racket.discourse.group/t/arrays-proposal-order-of-operations-in-array-indexes-set-and-array-slice-set/4098)

<div class="topic-metadata">

**Author:** [@Gambiteer](https://racket.discourse.group/u/Gambiteer)\
**Replies:** 1\
**Last updated:** [February 4, 2026, 2:49am UTC](https://racket.discourse.group/t/arrays-proposal-order-of-operations-in-array-indexes-set-and-array-slice-set/4098 "2026-02-04T02:49:46Z")

</div>

SRFI 231 has array-assign!, which seems similar to math/array's array-indexes-set! and array-slice-set!. I'm wondering whether the specification of array-assign! should be changed to determine the order in which element…

---

## [Requesting help to translate small array program into typed racket](https://racket.discourse.group/t/requesting-help-to-translate-small-array-program-into-typed-racket/4079)

<div class="topic-metadata">

**Author:** [@Gambiteer](https://racket.discourse.group/u/Gambiteer)\
**Replies:** 10\
**Last updated:** [January 25, 2026, 6:38pm UTC](https://racket.discourse.group/t/requesting-help-to-translate-small-array-program-into-typed-racket/4079 "2026-01-25T18:38:32Z")

</div>

When I added array broadcasting to SRFI 231 here GitHub - gambiteer/srfi-231 at 231-bis I made some design decisions that differ from those in Racket's math/array and I would like to compare the implementations of the tw…

---

## [Arrays proposal: array broadcasting, and adding new axes](https://racket.discourse.group/t/arrays-proposal-array-broadcasting-and-adding-new-axes/3948)

<div class="topic-metadata">

**Author:** [@Gambiteer](https://racket.discourse.group/u/Gambiteer)\
**Replies:** 12\
**Last updated:** [January 4, 2026, 7:25pm UTC](https://racket.discourse.group/t/arrays-proposal-array-broadcasting-and-adding-new-axes/3948 "2026-01-04T19:25:23Z")

</div>

I didn't know whether to start a new thread for each topic, or to stick with one thread. I started a new thread, but can do the other if more appropriate. When composing this message, I didn't know how much background …

---

## [One argument array-for-each, array-every, and array-any?](https://racket.discourse.group/t/one-argument-array-for-each-array-every-and-array-any/4004)

<div class="topic-metadata">

**Author:** [@Gambiteer](https://racket.discourse.group/u/Gambiteer)\
**Replies:** 5\
**Last updated:** [December 8, 2025, 9:45pm UTC](https://racket.discourse.group/t/one-argument-array-for-each-array-every-and-array-any/4004 "2025-12-08T21:45:08Z")

</div>

NumPy basically limits array broadcasting to pointwise operations, or array-map. I think that in a Scheme/Racket library without array comprehensions, one would need to implement broadcasting for arguments to array-fold…

---

## [Classifying broadcasting in math/array, and a question about array-append\* and array-list-\>array](https://racket.discourse.group/t/classifying-broadcasting-in-math-array-and-a-question-about-array-append-and-array-list-array/3999)

<div class="topic-metadata">

**Author:** [@Gambiteer](https://racket.discourse.group/u/Gambiteer)\
**Replies:** 0\
**Last updated:** [November 8, 2025, 1:25am UTC](https://racket.discourse.group/t/classifying-broadcasting-in-math-array-and-a-question-about-array-append-and-array-list-array/3999 "2025-11-08T01:25:30Z")

</div>

I think I can classify the purpose of array broadcasting in almost every routine in math/array that uses it, and can compare it with the use in Python's NumPy library (of which I am also no expert). array-map: The basic…

---

## [Multi-argument array folds, array-for-each in math/array?](https://racket.discourse.group/t/multi-argument-array-folds-array-for-each-in-math-array/3998)

<div class="topic-metadata">

**Author:** [@Gambiteer](https://racket.discourse.group/u/Gambiteer)\
**Replies:** 2\
**Last updated:** [November 7, 2025, 11:01pm UTC](https://racket.discourse.group/t/multi-argument-array-folds-array-for-each-in-math-array/3998 "2025-11-07T23:01:55Z")

</div>

I've scoured the documentation and source code for math/array and couldn't find a procedure I would call array-for-each, or multi-array argument array-folds. (My motivation is to track down all procedures in math/array …

---

## [Arrays proposal: Help to write idiomatic typed math/array example](https://racket.discourse.group/t/arrays-proposal-help-to-write-idiomatic-typed-math-array-example/3972)

<div class="topic-metadata">

**Author:** [@Gambiteer](https://racket.discourse.group/u/Gambiteer)\
**Replies:** 6\
**Last updated:** [October 21, 2025, 8:47pm UTC](https://racket.discourse.group/t/arrays-proposal-help-to-write-idiomatic-typed-math-array-example/3972 "2025-10-21T20:47:46Z")

</div>

Racket's math/array is a very large library. I'm trying to refine/expand SRFI 231 to a library that is smaller than math/array but with sufficient performance and expressiveness. Examples using array libraries in many …

---

## [Arrays proposal: New minimal implementation](https://racket.discourse.group/t/arrays-proposal-new-minimal-implementation/3965)

<div class="topic-metadata">

**Author:** [@Gambiteer](https://racket.discourse.group/u/Gambiteer)\
**Replies:** 0\
**Last updated:** [October 7, 2025, 2:19am UTC](https://racket.discourse.group/t/arrays-proposal-new-minimal-implementation/3965 "2025-10-07T02:19:57Z")

</div>

At this branch: I've now committed a "minimal" implementation with no specialized code or error checking, and a test program that can be used to test both the small and regular implementations. The stripped-down rout…

---

## [Broadcasting, mutability, and non-strict arrays in math/array](https://racket.discourse.group/t/broadcasting-mutability-and-non-strict-arrays-in-math-array/3956)

<div class="topic-metadata">

**Author:** [@Gambiteer](https://racket.discourse.group/u/Gambiteer)\
**Replies:** 3\
**Last updated:** [October 1, 2025, 1:53am UTC](https://racket.discourse.group/t/broadcasting-mutability-and-non-strict-arrays-in-math-array/3956 "2025-10-01T01:53:58Z")

</div>

TL;DR version: Applying array broadcasting to mutable or non-strict arrays can be very difficult to reason about, so should one restrict broadcasting to strict, immutable arrays? or ignore the difficulties and learn to …

---

## [Can Racket's arrays have arrays as elements?](https://racket.discourse.group/t/can-rackets-arrays-have-arrays-as-elements/3952)

<div class="topic-metadata">

**Author:** [@Gambiteer](https://racket.discourse.group/u/Gambiteer)\
**Replies:** 2\
**Last updated:** [September 22, 2025, 5:00pm UTC](https://racket.discourse.group/t/can-rackets-arrays-have-arrays-as-elements/3952 "2025-09-22T17:00:43Z")

</div>

I looked through the math/array documentation, and it wasn't clear to me whether Racket's arrays can have arrays as elements. This question arose in my mind because if arrays can have arrays as elements, I am a bit conf…

---

## [An arrays proposal for R7RS Large](https://racket.discourse.group/t/an-arrays-proposal-for-r7rs-large/3947)

<div class="topic-metadata">

**Author:** [@Gambiteer](https://racket.discourse.group/u/Gambiteer)\
**Replies:** 0\
**Last updated:** [September 20, 2025, 4:36pm UTC](https://racket.discourse.group/t/an-arrays-proposal-for-r7rs-large/3947 "2025-09-20T16:36:00Z")

</div>

I'm preparing a proposal for programming with arrays, based largely on SRFI 231, for R7RS Large. SRFI 231 is here: This month I began discussing on the SRFI 231 mail list what changes to SRFI 231 might be necessary: …
