Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: Order & meaning in a proposition

Re: Order & meaning in a proposition

From: Dave Rolsky <autarch_at_urth.org>
Date: Tue, 6 Apr 2004 16:02:48 -0500
Message-ID: <Pine.LNX.4.58.0404061548160.22757@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(@list) {

     ...
  }

Or ...

  if $x < all(@list) {

     ...
  }

and then there's hyperoperators, which allow you to specify any operator as applying to each member of an array in turn:

  my @new_list = @list ^* 2;

or:

  my @new = @old ^* (2, 4, 6); # multiple each of @old by 2, 4, 6 in turn

Since it should be easy to create an @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 - 16:02:48 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US