[Openmcl-devel] How is 'inspect' supposed to behave?
steven.nunez at illation.com
Tue Oct 16 01:10:13 CDT 2012
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")
Type: (SIMPLE-BASE-STRING 3)
Class: #<BUILT-IN-CLASS SIMPLE-BASE-STRING>
; No value
Does anyone know why, or have a good example of 'inspect'? I'm using slime and ccl 1.8.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openmcl-devel