Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

'|a| should print as 'a ?

0 views
Skip to first unread message

Deepak Goel

unread,
Oct 1, 1999, 3:00:00 AM10/1/99
to

hi

and thanks to all for helping.

my book (Graham) says that

USER: '|a|
should return
a

But allegro common lisp returns |a|.


I am trying to achieve '|<arbitrary>| should print <arbitarry> when it
contains no spaces or special characters but should print |arbitrary| when
there are some special characters (viz, *with* the bars.)

Is it different for ACL? (i couldn't figure it out from their website!)

thanks again.


--Deepak


Erik Naggum

unread,
Oct 1, 1999, 3:00:00 AM10/1/99
to
* Deepak Goel <de...@Glue.umd.edu>

| I am trying to achieve '|<arbitrary>| should print <arbitarry> when it
| contains no spaces or special characters but should print |arbitrary|
| when there are some special characters (viz, *with* the bars.)

lowercase letters are special characters when the reader upcases.

#:Erik

0 new messages