Re: Humorous but serious article
TSa Thomas.Sandlass-at-barco.com |Perl 6| wrote: HaloO, John M. Dlugosz wrote: See my latest creation at http://www.dlugosz.com/Perl6/web/APL.html Nice write-up! You say that there's no syntax for refering to a multi as a whole. But is that not simply the short name? E.g. infix:+ is the multi of all targets in a scope. You need infix:+:(Int,Int) to refer to a single target. Regards, TSa. I think that should be the case: have the unqualified form still return a Routine. But it's not clear from the Synopses that this is allowed, and it does open up other questions that need to be fleshed out about the semantics. So I'm making the point that we should go to the trouble of fleshing it out rather than saying don't do that. --John
Humorous but serious article
See my latest creation at http://www.dlugosz.com/Perl6/web/APL.html
Re: Humorous but serious article
HaloO, John M. Dlugosz wrote: See my latest creation at http://www.dlugosz.com/Perl6/web/APL.html Nice write-up! You say that there's no syntax for refering to a multi as a whole. But is that not simply the short name? E.g. infix:+ is the multi of all targets in a scope. You need infix:+:(Int,Int) to refer to a single target. Regards, TSa. -- The unavoidable price of reliability is simplicity -- C.A.R. Hoare Simplicity does not precede complexity, but follows it. -- A.J. Perlis 1 + 2 + 3 + 4 + ... = -1/12 -- Srinivasa Ramanujan
Re: Humorous but serious article
Hi See my latest creation at http://www.dlugosz.com/Perl6/web/APL.html A modern decendent of APL is J http://www.jsoftware.com/ http://www.jsoftware.com/jwiki/FrontPage Regards, Todd Olson