On Mon, Nov 3, 2008 at 7:43 AM, Richard M Kreuter <kreuter@...> wrote:
> The dictionary entry for WRITE says that the PPRINT-DISPATCH argument
> must be a pprint dispatch table, and NIL isn't one, so that call is
> arguably not conforming. (The actual culprit is that SBCL declares the
> type of *PRINT-PPRINT-DISPATCH* to be a pprint dispatch table, and so
> errors if you try binding the variable to something that isn't one, and
> WRITE binds printer control variables.)
>
> Since you're supplying an explicit PRETTY NIL, the pprint dispatch table
> shouldn't be used, so leaving out the PPRINT-DISPATCH argument or
> supplying any pprint dispatch table ought to do the trick. (If you're
> worried about not bottoming out in case something rebinds *PRINT-PRETTY*
> to true, you might try supplying a copy of the initial pprint dispatch
> table.)
>
> --
> Richard
Thanks, Richard. Unfortunately, leaving the :pprint-dispatch argument
out altogether still didn't work. I got an error in write-object.
Let me dig through the PVS code a little to see if I can understand
how it is supposed to work. Once I get that information in my head,
I'll ping the list again if I need more help. Thanks!
--
Jerry James
http://loganjerry.googlepages.com/
|