ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: "Eustáquio Rangel" <eustaquiorangel@gmail.com>
To: ruby-core@ruby-lang.org
Subject: [ruby-core:20423] Re: Array#to_proc
Date: Mon, 8 Dec 2008 22:56:48 +0900	[thread overview]
Message-ID: <4f4a0fba0812080603laace2f5r67c6a060c0761170@mail.gmail.com> (raw)
In-Reply-To: <A6715F58-FC1B-4967-A7B7-C0C355D3EFFD@andersground.net>

Hi there.

2008/12/8 Florian Gilcher <flo@andersground.net>:
> 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.

Hey, that chaining of procs can be a good idea to composing functions:
http://eustaquiorangel.com/posts/460
http://blog.moertel.com/articles/2006/04/07/composing-functions-in-ruby

  reply	other threads:[~2008-12-08 14:06 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   ` Eustáquio Rangel [this message]
2008-12-08 14:08   ` [ruby-core:20424] " James Coglan
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=4f4a0fba0812080603laace2f5r67c6a060c0761170@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).