Dave Wortman asked me to restore the syntax keyword `if3` from SRFI 114.
Its normal syntax is
(if (comparison-procedure obj1 obj2) less-than equal-to-greater-than).
Like `if`, it expands to just one of the arms of the conditional, but
there are three of them. However, there are no comparison procedures
in SRFI 128, so I've changed the syntax to
(if<=> [comparator] obj1 obj2 less-than equal-to greater-than).
The name is not ideal, but at least it's different enough to avoid
confusion.
Hopefully this variant will serve Dave's need.
Any comments?
--
John Cowan http://www.ccil.org/~cowan xxxxxx@ccil.org
Kill Gorgun! Kill orc-folk! No other words please Wild Men. Drive away
bad air and darkness with bright iron! --Ghan-buri-Ghan
To unsubscribe from this list please goto http://www.simplelists.com/confirm.php?u=JUbZhx3wwpw7hih0GlPLe3M1iX9L0AXJ