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

Re: [Sc-devel] [sc-book] revising SC3.2 deadline again



fixed the extend methods:

a = [1, 2, 3];
b = a.wrapExtend(5)
b[2]

a = [];
b = a.wrapExtend(5)
b[2]

a = [1, 2, 3];
b = a.clipExtend(5)
b[2]

a = [];
b = a.clipExtend(5)
b[2]

a = [1, 2, 3];
b = a.foldExtend(5)
b[2]

a = [];
b = a.foldExtend(5)
b[2]


committed. 

Josh

On Jan 7, 2008, at 4:35 AM, James Harkins wrote:

I agree: [nil, nil, nil, nil, nil] - just like [].extend(5)
hjh

On Jan 7, 2008, at 12:17 AM, Josh Parmenter wrote:

So... with

[].wrapExtend(5)

what should get returned? an error? an array of nils (like [].extend(5))?

The latter makes sense to me... let me know what the rest of you think.

best,

Josh

: H. James Harkins
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman


******************************************

/* Joshua D. Parmenter

http://www.realizedsound.net/josh/


“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono

*/