On 2006-12-15, André Thieme <[EMAIL PROTECTED]> wrote: > In Lisp it is like an IF and represents exactly what we think. > IF in Lisp: > (if expr > (then-part) > (else-part)) > > nif in Lisp: > (nif expr > (positive-part) > (zero-part) > (negative-part)) > > It looks as if it were a construct directly built into Lisp. If > one wants one could even add some additional syntax, so that it > looks like: > (nif expr > positive: > (foo1) > (foo2) > zero: > (foo3) > negative: > (foo4)) > > If you regard that idea nonsense then I suggest you to not use > Rubys if-statement anymore. But instead program your own > version "RubyIF" so that in future you have to pass all code > inside blocks to your RubyIF function. If you *really* think > that the Lisp savings are not worth it, then you would begin > with my suggestion today.
I don't know how to build a house. It doesn't make me want to live in a cave. ;-) -- Neil Cerutti The third verse of Blessed Assurance will be sung without musical accomplishment. --Church Bulletin Blooper -- http://mail.python.org/mailman/listinfo/python-list