muspellsson / hiccup

Automatically exported from code.google.com/p/hiccup
GNU Lesser General Public License v2.1
2 stars 0 forks source link

static definition of namespace commands #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently commands are registered as CmdMaps with 'makeCmdMap', and are
automatically put in the global namespace.
It'd probably be good to be able to put things in a different namespace.

Perhaps something like

  mkCmdSet "::tclmath" [ 
     ("+", cmdPlus), ("-", cmdMinus)
   ]

Original issue reported on code.google.com by consa...@gmail.com on 9 Apr 2008 at 5:14

GoogleCodeExporter commented 9 years ago
Fixed, ::tcl::mathop and ::tcl::mathfunc exist at startup.

Original comment by consa...@gmail.com on 21 May 2008 at 1:09