Clone
Gustaf A. Neumann <neumann@gustaf-neumanns-imac.local>
committed
on 04 Feb 08
* Potential incompatibility: provide a uniform interface to the following info subcommands
<class> info superclass ?-closu… Show more
   * Potential incompatibility:       provide a uniform interface to the following info subcommands

       <class> info superclass ?-closure? ?pattern?

       <class> info subclass ?-closure? ?pattern?

       <class> info instances ?-closure? ?pattern?

       <class> info instmixinof ?-closure? ?pattern?

       <class> info mixinof ?pattern?

    In cases, where the option "-closure" is defined,

    the values are computed transitively.

   In cases, where a pattern is specified, and

   the pattern contains meta-characters, a list

   of results is returned matching the pattern

   (like "string match"). When no matching value

   is found, an empty list is returned.

   In cases, where a pattern is specified, and

   the pattern contains no meta-characters,

   a single value is returned korrespinding to

   the specified value. The pattern is used

   to lookup an object or class, such it is

   not necessary to provide fully qualified names).

   if there is no match, empty is returned.

   Previously,  "info superclass" and "info subclass"

   returned a boolean value and performed

   always a transitive search. Returning ""

   is more consistent and more in line with Tcl.

   By using the option "-closure" one can

   perform the lookup in the transitive

   or in the intransitive sets.

  Still to do:

    children

    parent

    classchildren

    classparent

Show less