NextPrevUpTopContentsIndex

5.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 128 > (inspect "a
string with
newlines in it")
 
"a
string with
newlines in it" is a SIMPLE-BASE-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 or :dr for more)
 
 
CL-USER 129 : Inspect 1 > :m
* 1. SIMPLE-STRING
  2. LINES

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

The asterisk next to

* 1. SIMPLE-STRING

means that SIMPLE-STRING is the current inspection mode.

You can change mode by typing :m followed by the name or number of another mode. To change to LINES mode:

CL-USER 130 : Inspect 1 > :m 2
 
"a
string with
newlines in it" is a SIMPLE-BASE-STRING
0      a
1      string with
2      newlines in it

5.3.1 Hash table inspection modes


LispWorks User Guide - 11 Mar 2008

NextPrevUpTopContentsIndex