[#4522] Undefined Errno::EPROTO and the like raises NameError — "Florian Frank" <flori@...>
Hi,
[#4533] giving acces readline to rl_line_buffer — "Cs. Henk" <csaba-ml@...>
Hi!
[#4548] Ruby 1.8.2 array of hash entries functions incorrectly — noreply@...
Bugs item #1613, was opened at 2005-03-09 19:49
[#4561] rb_reg_quote weirdness — Nikolai Weibull <mailing-lists.ruby-core@...>
(Two weirdnesses in one day.)
Hi,
[#4567] Immutable Ropes — Nikolai Weibull <mailing-lists.ruby-core@...>
Note how I didn't write "Immutable Strings" in the subject.
[#4575] Allowing "?" in struct members — "Berger, Daniel" <Daniel.Berger@...>
Hi all,
[#4587] 0**0==1? — Bertram Scharpf <lists@...>
Hi,
[#4595] New block syntax — Daniel Amelang <daniel.amelang@...>
I'm really sorry if this isn't the place to talk about this. I've
Daniel Amelang wrote:
Hi --
On Monday 21 March 2005 16:17, David A. Black wrote:
Hi --
Hey David, I think that we've had some misunderstandings due to
Hi --
On Wednesday 30 March 2005 20:55, David A. Black wrote:
On Sunday 20 March 2005 21:31, Daniel Amelang wrote:
[#4601] Re: New block syntax — "Berger, Daniel" <Daniel.Berger@...>
> -----Original Message-----
[#4611] want_object? - possible? — "Berger, Daniel" <Daniel.Berger@...>
Hi all,
[#4619] Re: want_object? - possible? — Daniel Berger <djberg96@...>
--- nobu.nokada@softhome.net wrote:
Hi --
On 3/24/05, David A. Black <dblack@wobblini.net> wrote:
Hi --
On 4/14/05, David A. Black <dblack@wobblini.net> wrote:
On 14 Apr 2005, at 22:20, Mark Hubbart wrote:
On 4/15/05, Eric Hodel <drbrain@segment7.net> wrote:
[#4622] tempfile.rb — Tilman Sauerbeck <tilman@...>
Hi,
[#4648] about REXML::Encoding — speakillof <speakillof@...>
Hi.
On Thursday 31 March 2005 09:44, speakillof wrote:
Hi.
I've tested, applied, and committed your Encoding patch, Nobu.
Hi,
Re: New block syntax
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[quote Michael Walter::on 3/21/2005 4:03 PM]
> On Mon, 21 Mar 2005 22:42:01 +0900, Florian Gro<florgro@gmail.com> wrote:
>> Daniel Amelang wrote:
>>
>> > I really like the new proposed syntax for proc/blocks:
>> >
>> > b = {|| puts "good idea"}
>> >
>> > But the empty pipes make it ungraceful, in my opinion. I understand
>> > the need to differentiate between the {} syntax for blocks and the {}
>> > syntax for hashes. Thus, I propose that instead of changing the block
>> > syntax to resolve the ambiguity, we change the hash syntax.
>>
>> If we require Hashs to be of the { key => value } form instead of the {
>> key, value } form then I think we could differentiate blocks and hashes
>> without needing the empty argument list.
>
> How does that work for empty hashes vs. empty-bodied lambdas?
>
> Michael
>
>
Hi!
This will probably be considered a sacrilege by most of you, but unfortunately I am real newbie to
Ruby (from Java world).
I have read the following:
1/ Kernel::lambda converts a block to a Proc
2/ when passing a block as a parameter it is automatically converted to a Proc
My question (wondering rather) is why having these two different mechanisms?
Isn't possible to directly assign a block to a variable, as in parameter case?
tia, and sorry if this is completely stupid,
- --
:alex |.::the_mindstorm::.|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
iD8DBQFCPtr9TTDTje0R2dgRArHbAJ9Q47dZacGpxgkeli+yLjYdywl9OACfTbLE
HzATuoEb23d3AjSR9sLJOps=
=U2kN
-----END PGP SIGNATURE-----