On Fri, Apr 22, 2005 at 08:13:58PM +0200, St�phane Payrard wrote:
> On Fri, Apr 22, 2005 at 09:32:55AM -0700, Larry Wall wrote:
>
> Thank you for your detailled answer. I still don't get what you mean
> by "[] pattern matching arguments".
> Do you mean smart pattern matching on composite values?
>
> >
> > A lot of features are making it into Perl 6 that have historically been
> > associated with "functional" programming. Off the top of my head:
> > ...
> > [] pattern matching arguments
Thx to people on #perl6, I got it. It is a form of pattern matching
on arguments. It is described in S06 in under the headers "Unpacking
hash parameters", "Unpacking array parameters".
sub quicksort ([$pivot, [EMAIL PROTECTED], ?$reverse, ?$inplace) {
...
}
So if we mix that with typing, we will end with full fledged unification?
--
cognominal stef