On Fri Jun 18 00:34:24 2010, cognominal wrote:
> I am not sure how much * is supposed  to DWIM
> 
More than it was. When you submitted:

> >  < 1 2 3 >.map: * ~ 2
> 12 22 32
> >  < 1 2 3 >.map: 2 ~ * ~ 2
> No candidates found to invoke
> >
> > (*+1)(1)
> 2
> >
> > (*+*)(1,2)
> 3
> > (*+*+*)(1,2,3)
> Too many positional parameters passed; got 3 but expected 1
> >

And now:

> < 1 2 3 >.map: * ~ 2
12 22 32
> < 1 2 3 >.map: 2 ~ * ~ 2
212 222 232
> (*+1)(1)
2
> (*+*)(1,2)
3
> (*+*+*)(1,2,3)
6

Given to moritz++ to check we have enough spectest coverage for this.

Thanks,

Jonathan

Reply via email to