Go backward to Displaying production memory.
Go up to Displaying production memory.
Go forward to ms.

list-productions, list-chunks, list-justications
------------------------------------------------


This prints all productions of the indicated types.
If no prod-types are given,
default+user+chunk is printed.  
 
SYNTAX

(list-productions [prod-type*] [:internal] ["filename" [:append]])
  prod-type ::= default | user | chunk | justification

The optional [:internal] argument tells Soar to print productions in their
internal reordered (Rete net) form.  If a filename is given, the productions
are printed to that file; otherwise they are printed to the screen.  If
{:append} is given, the file is appended to rather than overwritten.

(list-chunks) is shorthand for (list-productions chunk).
{(list-justifications)} is shorthand for (list-productions justification).

Examples:

Soar> list-productions :internal "blocks-internal.soar"
Soar> list-chunks "blocks-chunks.soar" :append
Soar> list-justifications "blocks-justifications.soar"