Re: Implementing DRY with a function call

2013-02-07 Thread Robert Klemme
On Thu, Feb 7, 2013 at 1:39 AM, Rob Marshall wrote: > Hi Robert, > > At present I'm using the approach I mentioned before, but let me try and > explain my confusion... OK, I'll try to clarify where I can. > Every other language I've worked in, C, Perl, Python, Java...the way you > call a functio

Re: Implementing DRY with a function call

2013-02-06 Thread Robert Klemme
On Wed, Feb 6, 2013 at 9:14 PM, Rob Marshall wrote: > To Robert...yes, I have NOT, yet, grasped the concept of blocks :-) OK. First of all a block is just an anonymous function. Because it doesn't have a name it is invoked via keyword "yield" as you are already aware. You can see it from the s

Re: Implementing DRY with a function call

2013-02-06 Thread Robert Klemme
On Wed, Feb 6, 2013 at 4:27 PM, Rob Marshall wrote: > Hi Jesus, > > Thanks for the help. I think I see your point about the "lambda {}call" > simply returning the already evaluated expression, as opposed to > actually evaluating it at the time of the yield. But in my case it > doesn't really matte