Re: drop type indicators for typed variables
[email protected] (Christian Soeller) Wed, 30 Aug 2000 07:57:31 +1200
| Newsgroups | perl.perl6.language.data |
|---|---|
| Organization | University of Auckland |
| Message-ID | <[email protected]> |
"David L. Nicol" wrote: > > > Christian Soeller wrote: > > > > > > The other problem with arrays is: how do we deal with functions that > > > take multiple piddle arguments if they are arrays: > > > > > > @result = integrate @x, @y, @bounds; > > > > > > Won't those all be clumped into one big input array? > > if strongly typed barewords are allowed to represent variables > (like they do in most other languages) > > we could have > > my piddle x,y,bounds; > > @result = integrate x,y,bounds > > we would know x,y, and bounds are piddles without needing the > marker indicating scalar (they aren't scalars, they're piddles) > or container (@ or %) type. > > And then the line noise haters can say > > my SCALAR x; > > and they're happy. Interesting idea. However, possibly very unlikely to be implemented. Or are there any efforts in that direction? Christian