News for hackers. Stuff that matters.
Re:Clear is better than clever [pdf] by lisper on Monday May 06, 2019 @11:13AM (#19840155)
Personally I prefer (cond ((< a b) -1) ((> a b) 1) (t 0))

Or, if that's too many parens for you:

(mcond (< a b) -1 (> a b) 1 0)

The definition of MCOND is four lines of code and can be found here:

https://github.com/rongarret/ergolib/blob/master/core/ergoba...

There are no comments on this comment yet.