On Jun 21, 2006, at 5:18 PM, Moe Aboulkheir wrote:

>
>
>
> On Wed, 21 Jun 2006 16:32:13 -0700, Beau Hartshorne  
> <[EMAIL PROTECTED]>
>
>>>>> mean(1, [2, [3]]) === 2
>> true
>
> that's a bit weird.  maybe mean/median should expect a single, flat  
> list argument?  wanting to know the mean of a bunch of nested lists  
> is such a bizarre request that i don't think it's unreasonable to  
> require that the caller flattens the arguments.

That's basically a side-effect of allowing both mean([1,2,3]) and mean 
(1,2,3) via flattenArguments.

-bob


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to