[#2529] concerns about Proc,lambda,block — "David A. Black" <dblack@...>

Hi --

39 messages 2004/03/01
[#2531] Re: concerns about Proc,lambda,block — ts <decoux@...> 2004/03/01

>>>>> "D" == David A Black <dblack@wobblini.net> writes:

[#2533] Re: concerns about Proc,lambda,block — "David A. Black" <dblack@...> 2004/03/01

Hi --

[#2537] Re: concerns about Proc,lambda,block — matz@... (Yukihiro Matsumoto) 2004/03/01

Hi,

[#2542] Re: concerns about Proc,lambda,block — Mathieu Bouchard <matju@...> 2004/03/02

[#2545] Re: concerns about Proc,lambda,block — matz@... (Yukihiro Matsumoto) 2004/03/02

Hi,

[#2550] Re: concerns about Proc,lambda,block — Mauricio Fern疣dez <batsman.geo@...> 2004/03/03

On Wed, Mar 03, 2004 at 07:51:10AM +0900, Yukihiro Matsumoto wrote:

[#2703] Proposed patch to add SSL support to net/pop.rb — Daniel Hobe <daniel@...>

This patch adds support to Net::POP for doing POP over SSL. Modeled on how

19 messages 2004/03/27
[#2704] Re: Proposed patch to add SSL support to net/pop.rb — Daniel Hobe <daniel@...> 2004/03/27

This is v2 of the patch. Cleaned up a bit and added some more docs.

[#2707] Re: Proposed patch to add SSL support to net/pop.rb — Daniel Hobe <daniel@...> 2004/03/28

v3 of the patch:

[#2721] Re: Proposed patch to add SSL support to net/pop.rb — Minero Aoki <aamine@...> 2004/03/30

Hi,

Re: One more proc question

From: Jim Freeze <jim@...>
Date: 2004-03-05 03:59:32 UTC
List: ruby-core #2585
On Friday,  5 March 2004 at 12:52:15 +0900, Yukihiro Matsumoto wrote:
> Hi,
> 
> In message "One more proc question"
>     on 04/03/05, Dave Thomas <dave@pragprog.com> writes:
> 
> You cannot tell the difference from a block from block arguments and a
> block from Proc.new.  In fact,
> 
>   def fred(&block)
>   end
> 
> is implemented by
> 
>   def fred
>     block = Proc.new
>   end
> 

Well then, why isn't the syntax like so:

  def fred
    block = Block.new
  end
 
 I.e., what about changing Proc to Block?
 Then, we can have 'proc' and its alias 'lambda'.

-- 
Jim Freeze

My band career ended late in my senior year when John Cooper and I
threw my amplifier out the dormitory window.  We did not act in haste.
First we checked to make sure the amplifier would fit through the
frame, using the belt from my bathrobe to measure, then we picked up
the amplifier and backed up to my bedroom door.  Then we rushed
forward, shouting "The WHO!  The WHO!" and we launched my amplifier
perfectly, as though we had been doing it all our lives, clean through
the window and down onto the sidewalk, where a small but appreciative
crowd had gathered.  I would like to be able to say that this was a
symbolic act, an effort on my part to break cleanly away from one state
in my life and move on to another, but the truth is, Cooper and I
really just wanted to find out what it would sound like.  It sounded
OK.
		-- Dave Barry, "The Snake"

In This Thread