guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: name an array function


From: Panicz Maciej Godek
Subject: Re: name an array function
Date: Mon, 21 Nov 2016 15:01:24 +0100

2016-11-21 11:32 GMT+01:00 Daniel Llorens <address@hidden>:

>
> Hello,
>
> version 2.2 of Guile will (I hope) include rank-polymorphic versions of
> array-ref, array-set! and array-for-each. What this means is that instead
> of requiring as many indices as the rank of the array, with these functions
> you can give fewer indices and get a subarray (a ‘prefix slice’). If you
> give all the indices, they behave just as the current versions.
>
> [...]

>
> What do *you* think should be the names of these functions?
>

As far as accessors are concerned, I'm not sure whether they actaully need
names. Maybe it would be better to make them applicable, and produce
"procedures with setters"?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]