Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #2914

Re: scope of assignments with lambda

From Fearless Fool <r@alum.mit.edu>
Newsgroups comp.lang.ruby
Subject Re: scope of assignments with lambda
Date 2011-04-14 23:52 -0500
Organization Service de news de lacave.net
Message-ID <b13c6de75276182fdede792abd1045cc@ruby-forum.com> (permalink)
References <5ab8b94d707235d7b83c9b011b696ef4@ruby-forum.com> <2b8e0c638f80e0062cbba1f68ca297d8@ruby-forum.com> <470a9e96982d7a927f140193f12c0f64@ruby-forum.com> <a530c7278afb64dd632a5487344cecdf@ruby-forum.com>

Show all headers | View raw


7stud -- wrote in post #988797:
>> @7stud: Pardon if I wasn't clear in my OP, but I was asking about
>> recursion.
> My point was that a recursive method seems harder to explain than your
> lambda example.  As you detailed, your lambda example can be explained
> by a closure.

Yeah, well, I apologize, but that was my typo.  I meant "I *wasn't* 
asking about recursion".  (And no, recursion doesn't seem particularly 
difficult to explain, does it?!? :)

- ff

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | Next | Find similar | Unroll thread


Thread

Re: scope of assignments with lambda Fearless Fool <r@alum.mit.edu> - 2011-04-14 23:52 -0500

csiph-web