[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Printing dotted pairs with AND and OR



Check this out:

--> '(and . foo)
#<error printing object CONS nnnnnn>

The problem is that AND and OR have a property GPRINT::FORMATTER that
specifies GPRINT::FORMAT-AND-OR as the format function.  Looking at the
source for this function reveals a call to LENGTH on the output form,
for which a dotted pair causes great grief.

I can hack a fix to this, but I'm not much of a systems person when it
comes to making system-type fixes.  Can anyone suggest a fix to me?
Wonder if this is fixed in 7.2?

dan haug
haug@austin.lockheed.com