Re: Last call for comments on SRFI 179: Nonempty Intervals and Generalized Arrays (Updated) Bradley Lucier 03 May 2020 03:43 UTC
On 5/2/20 10:56 PM, Bradley Lucier wrote: > APL seems to pun 1 x 1 arrays with scalar values (both ways), and SRFI > 179 does not do that, so it's not terribly easy to reproduce the other > example on that page. All that punning is in the definition of A1 and B1 on page 121/135 (physical), and then If A1 and B1 are both vectors, return f /A1 g B1 . means that if the two rewritten arguments are both vectors, return a scalar (apply g pairwise and then reduce by f). And it seems that the rest of the definition says how to calculate the elements of Z (named Q), after choosing the right vectors X (from A1) and Y (from B1) and computing the scalar Set Q to f /X g Y . Brad