Re: Order & meaning in a proposition
Date: Tue, 6 Apr 2004 16:02:48 -0500
Message-ID: <Pine.LNX.4.58.0404061548160.22757_at_urth.org>
On Tue, 6 Apr 2004, mAsterdam wrote:
> Dawn M. Wolthuis wrote:
>
> > ... there still seems to be an aspect
> > missing that is integral to understanding data -- language.
>
> You might want to also read Larry Wall on postmodernism.
For those who haven't been following the design of the Perl 6 language (aka probably 95+% of the people reading this group ;) there's some very interesting feature in the Perl 6 language which basically make set operations first class operators, so you can do this:
if $x == any(_at_list) {
...
}
Or ...
if $x < all(_at_list) {
...
}
and then there's hyperoperators, which allow you to specify any operator as applying to each member of an array in turn:
my _at_new_list = @list ^* 2;
or:
my _at_new = @old ^* (2, 4, 6); # multiple each of @old by 2, 4, 6 in turn
Since it should be easy to create an _at_array looking variable that is restricted to unique members, this makes for some very interesting possibilities in terms of set operations, I think.
This is, of course, totally off the current topic ;)
-dave
/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/Received on Tue Apr 06 2004 - 23:02:48 CEST