The Revised Maclisp ManualThe PitmanualPage C-7
Published by HyperMeta Inc.
 
Prev | Index | Next
Common Lisp Conversion
CL Conversion
Trivial Changes
Easy Changes
Hard Changes
Substandard Code
Cosmetic Changes
User-Defined Functions
Non-Portable Code
Donate

Conv: User-Defined Functions

[Blue Marble]
Climate Change
What about the food supply?

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.
Prev | Index | Next