|
![](/i/fill.gif) |
On 3/30/2009 7:41 PM, clipka wrote:
> Another feature I'd suggest for the new SDL: "pattern" being fully
> interchangeable with 3-parameter function.
Why not go one further, and remove one of them?
Everything could be represented as functions of the form
<vB1,...> pattern my_func(<vA1,..>)
That is, everything could be called a pattern, could take a vector with
Na components as an argument, and return a vector with Nb components.
Anywhere you would expect either a pattern or a vector, the new style
pattern could be used.
--
...Chambers
www.pacificwebguy.com
Post a reply to this message
|
![](/i/fill.gif) |