5 The REPL Inspector

LispWorks provides two inspectors. One is for use with the Common LispWorks environment, and is described in the Common LispWorks User Guide . The other is the REPL inspector, which uses a stream interface, and can be used on any terminal (in particular within a Common LispWorks listener). Both inspectors allow you to traverse complex data structures interactively and to destructively modify components of these structures. However, the two inspectors are quite different. No attempt has been made to make their usage compatible and instead each inspector is designed to exploit to the full the particular environment facilities available.

The REPL inspector provides a simple inspector facility which can be used on a stream providing line breaks as the only type of formatting. It is built on top of the describe function which is briefly described below and modifies the top level loop in a similar way to the debugger (see The Debugger).

5.1 Describe

5.2 Inspect

5.3 Inspection modes

LispWorks User Guide - 11 Mar 2008