From: "James Coglan" <jcoglan@googlemail.com>
To: ruby-core@ruby-lang.org
Subject: [ruby-core:20424] Re: Array#to_proc
Date: Mon, 8 Dec 2008 23:08:15 +0900 [thread overview]
Message-ID: <b913ba1b0812080614u6a97aa99ld2d9cc7125a26b6b@mail.gmail.com> (raw)
In-Reply-To: <A6715F58-FC1B-4967-A7B7-C0C355D3EFFD@andersground.net>
[-- Attachment #1: Type: text/plain, Size: 397 bytes --]
> This might make sense for an Array of Symbols. But i've also seen use of
> this
> in other interpretations, like for chaining Arrays of procs. Other uses
> could be
> imagined.
Quite. I've seen other uses that treat the first element as a method name,
and the remaining elements as arguments to the method. There's too much
potential ambiguity in this to warrant its addition to the language.
[-- Attachment #2: Type: text/html, Size: 607 bytes --]
next prev parent reply other threads:[~2008-12-08 14:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-08 12:47 [ruby-core:20418] Array#to_proc Eustáquio Rangel
2008-12-08 12:55 ` [ruby-core:20419] Array#to_proc Austin Ziegler
2008-12-08 13:21 ` [ruby-core:20421] " Florian Gilcher
2008-12-08 13:56 ` [ruby-core:20423] " Eustáquio Rangel
2008-12-08 14:08 ` James Coglan [this message]
2008-12-08 17:24 ` [ruby-core:20430] " Nobuyoshi Nakada
2008-12-08 17:51 ` [ruby-core:20433] " Mikael Høilund
2008-12-09 5:58 ` [ruby-core:20439] " Yukihiro Matsumoto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.ruby-lang.org/en/community/mailing-lists/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b913ba1b0812080614u6a97aa99ld2d9cc7125a26b6b@mail.gmail.com \
--to=ruby-core@ruby-lang.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).