Some of Rivet's commands are (quite incongruously) provided in a ::Rivet
package and the usual 'package require' is needed to import them into the
interpreter. 

I would go one step ahead and try to unify the whole scoping of Rivet commands
by putting the whole set into a ::Rivet namespace, rewriting their definition
in this newly created namespace and adding the 'namespace export' lines that
will let the commands available for import in old scripts with the 'namespace
import ::Rivet::*' (easy to be done in configuration). 

Since we determined to focus only on tcl > 8.5 I would also do a minor change
by removing 'incr0' from the commands and create an alias to incr in
${rivetlib}/init.tcl; incr provides the same functionality as incr0 and the
latter can be marked as obsolete in the docs.

Last issue: I would bump the code version number in trunk to 2.1.0. These
changes, other future introductions and the discontinuation of tcl 8.4 support
are enough to justify it

-- Massimo



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to