[Openmcl-devel] How is 'inspect' supposed to behave?
gb at clozure.com
Tue Oct 16 09:08:06 UTC 2012
This was fixed in the trunk several months ago, but the change never made
it into the 1.8 svn tree.
It's there now.
On Tue, 16 Oct 2012, Steven N?ez wrote:
> Greetings all,
> I was playing around with XMLisp and noticed some odd behavior in the
> 'inspect' function, which the author uses in some of the examples. According
> the the function documentation, found here:
> "To inspect a Lisp object, call the?function?INSPECT on the
> object. This displays the object, showing its contents as a
> sequence of numbered "items". If there are a lot of items (e.g.
> a large array) , they're displayed in "pages", i.e. groups that
> you can scroll up and down through. (Each "page" is 20 lines.)"
> However most of the time 'inspect' returns nil. For example:
> CL-USER> (inspect "foo")
> (describe "foo")
> Type: (SIMPLE-BASE-STRING 3)
> Class: #<BUILT-IN-CLASS SIMPLE-BASE-STRING>
> Length: 3
> 0: #\f
> 1: #\o
> 2: #\o
> ; No value
> Does anyone know why, or have a good example of 'inspect'? I'm using slime
> and ccl 1.8.
> - Steve
More information about the Openmcl-devel