From: Peter Freddolino (
Date: Wed Apr 21 2010 - 07:56:35 CDT

Hi Alexandre,
this is my mistake; it appears that I never committed the lmap function
to cvs. You should be able to get things working either by checking out
the latest cvs version of the plugin tree, or pasting the function (see
below) at the bottom of utilities.tcl in your installation. Sorry for
the inconvenience.

proc ::util::lmap {inlist expression} {
  set newlist [list]
  foreach elem $inlist {
    lappend newlist [eval "$expression"]
  return $newlist

Alexandre Suman de Araujo wrote:
> Hi Peter
> Im using de last version 1.8.7. I checked the CVS version and the
> script has notmodifications compared with the one of the 1.8.7 version.
> Cheers