From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: poffice@blade.nagaokaut.ac.jp Delivered-To: poffice@blade.nagaokaut.ac.jp Received: from kankan.nagaokaut.ac.jp (kankan.nagaokaut.ac.jp [133.44.2.24]) by blade.nagaokaut.ac.jp (Postfix) with ESMTP id 6A67A1F0739 for ; Mon, 8 Dec 2008 21:57:31 +0900 (JST) Received: from funfun.nagaokaut.ac.jp (funfun.nagaokaut.ac.jp [133.44.2.201]) by kankan.nagaokaut.ac.jp (Postfix) with ESMTP id 4D2E1EA5178 for ; Mon, 8 Dec 2008 21:53:59 +0900 (JST) Received: from localhost (localhost.nagaokaut.ac.jp [127.0.0.1]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id 019D31FA004 for ; Mon, 8 Dec 2008 21:54:00 +0900 (JST) X-Virus-Scanned: amavisd-new at funfun.nagaokaut.ac.jp Received: from funfun.nagaokaut.ac.jp ([127.0.0.1]) by localhost (funfun.nagaokaut.ac.jp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E72U-ztI0Zjl for ; Mon, 8 Dec 2008 21:53:59 +0900 (JST) Received: from voscc.nagaokaut.ac.jp (voscc.nagaokaut.ac.jp [133.44.1.100]) by funfun.nagaokaut.ac.jp (Postfix) with ESMTP id D553D1FA000 for ; Mon, 8 Dec 2008 21:53:59 +0900 (JST) Received: from carbon.ruby-lang.org (carbon.ruby-lang.org [221.186.184.68]) by voscc.nagaokaut.ac.jp (Postfix) with ESMTP id 6B3A495243A for ; Mon, 8 Dec 2008 21:53:56 +0900 (JST) Received: from beryllium.ruby-lang.org (beryllium.ruby-lang.org [127.0.0.1]) by carbon.ruby-lang.org (Postfix) with ESMTP id 0F5D83C21E7A7; Mon, 8 Dec 2008 21:47:22 +0900 (JST) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.235]) by carbon.ruby-lang.org (Postfix) with ESMTP id B42CF3C21F738 for ; Mon, 8 Dec 2008 21:47:19 +0900 (JST) Received: by rv-out-0506.google.com with SMTP id f6so1441402rvb.7 for ; Mon, 08 Dec 2008 04:53:49 -0800 (PST) Received: by 10.141.13.13 with SMTP id q13mr1643778rvi.163.1228740829387; Mon, 08 Dec 2008 04:53:49 -0800 (PST) Received: by 10.141.156.7 with HTTP; Mon, 8 Dec 2008 04:53:49 -0800 (PST) Delivered-To: ruby-core@ruby-lang.org Date: Mon, 8 Dec 2008 21:47:20 +0900 Posted: Mon, 8 Dec 2008 10:53:49 -0200 From: "=?ISO-8859-1?Q?Eust=E1quio_Rangel?=" Reply-To: ruby-core@ruby-lang.org Subject: [ruby-core:20418] Array#to_proc To: ruby-core@ruby-lang.org Message-Id: <4f4a0fba0812080453x4ae6a3c7n40c0e5cc59fc40de@mail.gmail.com> X-ML-Name: ruby-core X-Mail-Count: 20418 X-MLServer: fml [fml 4.0.3 release (20011202/4.0.3)]; post only (only members can post) X-ML-Info: If you have a question, send e-mail with the body "help" (without quotes) to the address ruby-core-ctl@ruby-lang.org; help= X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on carbon.ruby-lang.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=7.0 tests=ARIN,BAYES_50, CONTENT_TYPE_PRESENT,QENCPTR2 autolearn=disabled version=3.1.7-deb DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=pj30EDhupCnrJ4GZ+tqZDcOknqb8oKxv8f8qV2HgyV0=; b=ntX6vCxKUYTtES0xyNJZP6a8oID8yxMoOqKBom7zeP10Dv1IMxcbsdIzSj8lVxXq6F 52Ev5HCiaEnFhyGdSwuO9UfYGiUeEjvaKmVZ6VcmR+Fo1rzS9NZSt0sO5qqMuxWtRgJc 9KzVbo/kP4HB8Xl06QX2GB1iGxgYLv/1VS/y0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=gCcpNeS9Tv2VjIIRNuT7C0EnDBBaXpE1OekJu5ddKqJ2F+EWBZieSq+T2cu9Ylzdhb UBcNqHe3ohI096ke3x5izkULIZGpQjB/6cpwD6Eq7JqBWTgvRDNU+dqa6373rZdXQ2wS M4oiCmbwnyUbJVxg/SlfK36IWevu/e9Xyx9Lg= Content-Disposition: inline Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Precedence: bulk List-Id: ruby-core.ruby-lang.org List-Software: fml [fml 4.0.3 release (20011202/4.0.3)] List-Post: List-Owner: List-Help: List-Unsubscribe: Some months ago I sent a patch to Rails proposing an Array#to_proc the way we already have a Symbol#to_proc: http://rails.lighthouseapp.com/projects/8994/tickets/1253-arrayto_proc As pointed on the discussion, we only had some few cases (on Rails) to add this method, but what do you guys think about it on the language itself, would be useful or it does not help anyway? Thanks.