This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Yet more confusion over strings and objects in Lisp.
- From: Norman Walsh <ndw at nwalsh dot com>
- To: Gre7g Luterman <gre7g at wolfhome dot com>
- Cc: DocBook-APPS <docbook-apps at lists dot oasis-open dot org>
- Date: Thu, 11 Jul 2002 08:52:26 -0400
- Subject: DOCBOOK-APPS: Re: Yet more confusion over strings and objects in Lisp.
- References: <3D16E145.19500.23078CF2@localhost><3D16FEA7.12640.237A5472@localhost>
/ Gre7g Luterman <gre7g@wolfhome.com> was heard to say:
| (if (string=? (nav-context elemnode) "")
|
| part. (nav-context elemnode) returns an object, not a string. So
If you're trying to test whether or not nav-context generates text, use
(if (nav-context?)
...
(nav-context ...) returns a sosofo and those are by definition opaque.
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | The sudden disappointment of hope
http://www.oasis-open.org/docbook/ | leaves a scar which the ultimate
Chair, DocBook Technical Committee | fulfillment of that hope never
| entirely removes.--Thomas Hardy