[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Ternary operator patch
- From: Jeff Pohlmeyer <yetanothergeek@...>
- Date: Thu, 16 Sep 2010 03:06:00 -0500
On Thu, Sep 16, 2010 at 2:48 AM, David Kastrup wrote:
> Jeff Pohlmeyer writes:
>> function choose(expr,yes,no)
>> if expr then return yes else return no end
>> end
> That evaluation is inappropriately unlazy.
The author's brain appears to be quite lazy, however. :-)
- Jeff
- References:
- Re: Ternary operator patch, steve donovan
- Re: Ternary operator patch, Henk Boom
- Re: Ternary operator patch, steve donovan
- Re: Ternary operator patch, Geoff Leyland
- Re: Ternary operator patch, steve donovan
- Re: Ternary operator patch, Miles Bader
- Re: Ternary operator patch, David Kastrup
- Re: Ternary operator patch, Miles Bader
- Re: Ternary operator patch, David Kastrup
- Re: Ternary operator patch, Jonathan Castello
- Re: Ternary operator patch, Roberto Ierusalimschy
- Re: Ternary operator patch, Alexander Gladysh
- Re: Ternary operator patch, steve donovan
- Re: Ternary operator patch, Jeff Pohlmeyer
- Re: Ternary operator patch, David Kastrup