lambda vs non-lambda proc

Discussion in 'Ruby' started by Steve Dogers, Mar 30, 2009.

  1. Steve Dogers

    Steve Dogers Guest

    I guess my question is rather simple, what's the difference between
    blocks defined with lambda and blocks that aren't?

    Cheers!
    --
    Posted via http://www.ruby-forum.com/.
    Steve Dogers, Mar 30, 2009
    #1
    1. Advertising

  2. On Mon, Mar 30, 2009 at 9:13 PM, Steve Dogers <> wrote:
    > I guess my question is rather simple, what's the difference between
    > blocks defined with lambda and blocks that aren't?
    >
    > Cheers!


    A simple question but one not so easily answered. Google "ruby blocks
    vs procs" and take your pick.
    Sean O'Halpin, Mar 30, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. David Lozzi
    Replies:
    3
    Views:
    1,932
    David Lozzi
    Jun 1, 2005
  2. NevilleDNZ
    Replies:
    9
    Views:
    442
    NevilleDNZ
    Aug 16, 2006
  3. Jean-Hugues ROBERT

    Why no Proc##[]=() ? Why no Proc##replace() ?

    Jean-Hugues ROBERT, May 1, 2004, in forum: Ruby
    Replies:
    14
    Views:
    286
    Jean-Hugues ROBERT
    May 5, 2004
  4. Eric Mahurin
    Replies:
    25
    Views:
    373
    Trans
    Oct 11, 2005
  5. Minkoo Seo

    Proc vs lambda vs proc

    Minkoo Seo, Feb 4, 2007, in forum: Ruby
    Replies:
    19
    Views:
    242
    Brian Candler
    Feb 6, 2007
Loading...

Share This Page