*use-marking*Instance Retrievaldo-instances-of-class*warn-about-unusual-requests*GoTo Top

*warn-about-unusual-requests*   [Variable]

Purpose
Control warning messages of “unusual” do-instances-on-space-instances, find-instances, and map-instances-on-space-instances requests that are likely to be mistakes.

Package   :gbbopen

Module   :gbbopen-core

Value type   A generalized boolean

Initial value   True

See also
    do-instances-on-space-instances
    filter-instances
    find-instances
    map-instances-on-space-instances

Example
Suppress the warning message associated with an unachievable retrieval pattern:

  > (filter-instances nil '(and (> x 3) (< x 2)))
  ;; Warning: Pattern (and (> X 3) (< X 2)) can not be satisfied.
  nil
  > (let ((*warn-about-unusual-requests* nil))
      (filter-instances nil '(and (> x 3) (< x 2))))
  nil
  >


The GBBopen Project


*use-marking*Instance Retrievaldo-instances-of-class*warn-about-unusual-requests*GoTo Top