show-progress [Function]


Purpose

The show-progress function is a hook for user interfaces. If the :emit-classify-dots feature is set, it is called with argument :classify whenever a concept classifies, completes, or merges. If the :emit-match-stars feature is set, it is called with argument :match whenever the type of an instance changes. The user may redefine show-progress to give custom progress indications, in addition to the standard dots, stars, etc. issued by Loom.

Syntax

show-progress activity

Arguments

The activity argument indicates the type of Loom activity currently in progress. This may be either :classify or :match.

Value

This function returns t.

Examples

(defun show-progress (activity) 
  (case activity 
    (:classify (print-something)) 
    (:match (print-something-else))) 
  t)

See Also

Last modified: Jun 1 1995