NextPrevUpTopContentsIndex

4.3 Inspection modes

The :m command displays and changes the current inspection mode for an inspected value. The session below demonstrates how it works:

CL-USER 1 > (inspect "a
string with
newlines in it")
 
 
"a
string with
newlines in it" is a STRING
[0]   :  "a"
[1]   :  "string with"
[2]   :  "newlines in it"
 
CL-USER 2 : Inspect 1 > :m 
  1. STRING
* 2. LINES
 
CL-USER 3 : Inspect 1 >

The :m produces an enumerated list of inspection modes for this value.

The asterisk next to

* 2. LINES

means that LINES is the current inspection mode.

You can change mode by typing :m followed by the name or number of the mode to which you are changing:

CL-USER 3 : Inspect 1 > :m 1
 
 
"a
string with
newlines in it" is a STRING
[0]    :  #\a
[1]    :  #\Newline
[2]    :  #\s
[3]    :  #\t
[4]    :  #\r
[5]    :  #\i
[6]    :  #\n
[7]    :  #\g
[8]    :  #\Space
[9]    :  #\w
[10]   :  #\i
[11]   :  #\t
[12]   :  #\h
[13]   :  #\Newline
[14]   :  #\n
[15]   :  #\e
[16]   :  #\w
[17]   :  #\l
[18]   :  #\i
[19]   :  #\n ........ (:dm for more)
 
 
CL-USER 4 : Inspect 1 > 

4.3.1 Hash table inspection modes


LispWorks User Guide - 21 Jul 2006

NextPrevUpTopContentsIndex