[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-core
Subject: Re: ANN: Free-form-operators patch
From: Yukihiro Matsumoto <matz () ruby-lang ! org>
Date: 2004-10-11 23:16:44
Message-ID: 1097536603.621205.826.nullmailer () x31 ! priv ! netlab ! jp
[Download RAW message or body]
Hi,
In message "Re: ANN: Free-form-operators patch"
on Tue, 12 Oct 2004 01:21:08 +0900, Markus <markus@reality.com> writes:
|> * This patch makes difficult to add new operators in the language in
|> the future. For example, I might feel like to add '->' behave as
|> lambda as in Perl6.
| I don't think the patch would make it any harder to add operators
|in the future--any more than user defined methods make it harder to add
|methods. In a way, it might make it easier, since they could be written
|in ruby.
As long as it's a binary operator. I'm thinking something more like
syntax. For example, Perl6's -> syntax works as "-> x, y {...}",
which would, I think, conflict with any usage of user defined ->
operator.
matz.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic