Re: [pure-lang-users] null
Status: Beta
Brought to you by:
agraef
|
From: John L. <joh...@gm...> - 2008-09-26 14:46:11
|
I wasn't suggesting that it should be in Pure. I was just showing an example of a possible ? operator. Sorry for any confusion caused. On 26 Sep 2008, at 15:30, John Cowan wrote: > John Lunney scripsit: > >> Well, I was thinking of the ternary conditional operator! >> I don't like it, but it does exist... > > If you want C, you know where to find it. > > ?: is not even an operator, because of its non-function-like behavior. > Algol 60 (notoriously a great improvement on most of its successors) > distinguished between statements and expressions, and yet it managed > to have both if-then(-else) statements and if-then-else expressions. |