[#1551] Hashes as keys — "Nathaniel Talbott" <nathaniel@...>

I was just playing around with Hash#hash and discovered that you can't use a

13 messages 2003/09/23

Re: |rcr|.xv Index Variables ( *_with_index )

From: Gavin Sinclair <gsinclair@...>
Date: 2003-09-02 15:11:36 UTC
List: ruby-core #1496
On Wednesday, September 3, 2003, 12:48:23 AM, daz wrote:


> Hello 'core,

> My first post here, so I'll try not to be too controversial.
> It might be too long for busy people.

> =begin

>   [RCR] proposal - optional block index variable
>   ==============================================


Hi Dave,

I like the idea, and read nearly every word (skipping some
implementation details) of your long post.  I have some concern about
the special treatment of the index variable in String#scan that you
propose.  A nice rule doesn't look so nice when there are exceptions.

Cheers,
Gavin


In This Thread