Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Predicting Operators

1 view
Skip to first unread message

Mark Lentczner

unread,
May 28, 2004, 2:26:31 AM5/28/04
to perl6-l...@perl.org
Uri Guttman wrote:
> are you going to predict any new operators based on missing boxes as
> mendeleev did? :)

Funny you should ask! It is clear that there is a missing "list
concatenate" operator, and that its spelling should be ~~. Alas, that
is already taken by "smart match". On the other hand, perhaps comma
fills this role - though I couldn't find my way through the discussion
on comma to know where it now stands.

I was going to predict a quasi-operator for an alternate form of
qw/.../, but seems I just missed the thread where «...» was introduced
for that purpose. It will be corrected in the next version of the
chart.

- Mark

Mark Lentczner
http://www.ozonehouse.com/mark/
ma...@glyphic.com

Aaron Sherman

unread,
Jun 1, 2004, 12:06:07 PM6/1/04
to Mark Lentczner, Perl6 Language List
On Fri, 2004-05-28 at 02:26, Mark Lentczner wrote:
> It is clear that there is a missing "list
> concatenate" operator, and that its spelling should be ~~. Alas, that
> is already taken by "smart match". On the other hand, perhaps comma
> fills this role - though I couldn't find my way through the discussion
> on comma to know where it now stands.

Actually, since comma is now an operator for list construction, I
suppose ,= would certainly have a clear enough meaning.

Still, I'm not sure everything needs to be operatorified. Is push so
hard to use?

--
Aaron Sherman <a...@ajs.com>
Senior Systems Engineer and Toolsmith
"It's the sound of a satellite saying, 'get me down!'" -Shriekback


0 new messages