Dick, looks to me like you are designing a dialect (language with a specific focus), one that perhaps takes inspiration from APL.
Regards, Brett. ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, October 13, 2002 10:29 AM Subject: [REBOL] Re: XML.com Embedded Markup Considered Harmful [Oct. 02, 1997] > Average ofascalar > ==yields the scalar > Average ofavector > ==yields a scalar which is the average > Average ofamatrix > ==yields a vector each number of which is average of a row of the matrix > Average[coordinate] arbritraryarray > ==yields the averages of the slices along the specified coordinate > > bags of tricks get tricky in a hurry > > > Dick wrote: > > > I prefer: > > > > > > Average expressionwhichyieldsanarrayofdata > > > > >From my box of tricks: > > > > Average: func [ > > "Averages the values in the Block." > > Block [block!] "Block of values." > > ] [ > > divide accumulate 0 Block :+ length? Block > > ] > > > > :) > > Andrew Martin > > ICQ: 26227169 http://valley.150m.com/ > > -><- > > > > -- > > To unsubscribe from this list, please send an email to > > [EMAIL PROTECTED] with "unsubscribe" in the > > subject, without the quotes. > > >** --------- End Original Message ----------- ** > > > > > > Download NeoPlanet at http://www.neoplanet.com > > -- > To unsubscribe from this list, please send an email to > [EMAIL PROTECTED] with "unsubscribe" in the > subject, without the quotes. > -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
