Subject: Re: question - how to get rid of # in print outcome
From: Erik Naggum <erik@naggum.no>
Date: 1999/05/27
Newsgroups: comp.lang.lisp
Message-ID: <3136793480436417@naggum.no>

* Hyunchul  Jay Kim <hyunchul@andrew.cmu.edu>
| How can I get rid of # signs in print outcomes.

  you can print the objects yourself, instead of using the default
  top-level printer.

| Because of this, my pattern matching keeps failing.

  why?  are you cutting and pasting the output somewhere else?

| I have tried in the following way but no luck.

  from the looks of this, I assume Allegro CL.  in which case you should
  have read the manual, too.

  first of all, the normal printer variables control the output of PRINT
  called from your programs.  the top-level frequently has different needs,
  and it would be annoying to have to switch settings between program
  output and top-level output all the time.

  this means your printer variables will take affect only when you call
  PRINT yourself.  the easy way to do this is to do (pprint *) if you don't
  get all of the returned expression printed by the top-level.  PPRINT does
  not return any values (unlike PRINT), so you get what you expect and no
  noise.

  if you do want to change the printer variables that affect the top-level,
  the easiest way to do that is with the :PRINTER-VARIABLES command to the
  top-level loop.

#:Erik
-- 
@1999-07-22T00:37:33Z -- pi billion seconds since the turn of the century