The Revised Maclisp Manual | Page C-7 | ||||||
|
Many private macro packages define a macro called LOGOR which does a bit-wise logical inclusive-or on fixnums, equivalent to BOOLE called with a first argument of 7 (or BOOLE-IOR). Common Lisp provides the equivalent functionality under the name LOGIOR.
(BOOLE 7 x y) becomes (LOGIOR x y) (BOOLE BOOLE-IOR x y) becomes (LOGIOR x y) (LOGOR x y) becomes (LOGIOR x y)
CL Conversion (1 2 3 4 5 6 (7) 8)
The Revised Maclisp Manual (Sunday Morning Edition) Published Sunday, December 16, 2007 06:17am EST, and updated Sunday, July 6, 2008. |
|