diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-10-16 13:14:28 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-10-16 13:14:28 (GMT) |
commit | 4bb1f92d128bf8ca978c59204d2636685d13e769 (patch) | |
tree | b39ac82a9bce6a5b82d8c2ec8cae14c64e4ffc86 /ChangeLog | |
parent | e64a66080732ac0d629c67e144c79fd1d1fd28d9 (diff) | |
parent | 48ceefdb4eab934f351f154b0790d628c1bc6442 (diff) | |
download | tcl-4bb1f92d128bf8ca978c59204d2636685d13e769.zip tcl-4bb1f92d128bf8ca978c59204d2636685d13e769.tar.gz tcl-4bb1f92d128bf8ca978c59204d2636685d13e769.tar.bz2 |
Implementation of TIP #405.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,5 +1,20 @@ 2012-10-16 Donal K. Fellows <dkf@users.sf.net> + IMPLEMENTATION OF TIP#405 + + New commands for applying a transformation to the elements of a list + to produce another list (the [lmap] command) and to the mappings of a + dictionary to produce another dictionary (the [dict map] command). In + both cases, a [continue] will cause the skipping of an element/pair, + and a [break] will terminate the construction early and successfully. + + * generic/tclCmdAH.c (Tcl_LmapObjCmd, TclNRLmapCmd): Implementation of + the new [lmap] command, based on (and sharing much of) [foreach]. + * generic/tclDictObj.c (DictMapNRCmd): Implementation of the new [dict + map] subcommand, based on (and sharing much of) [dict for]. + * generic/tclCompCmds.c (TclCompileLmapCmd, TclCompileDictMapCmd): + Compilation engines for [lmap] and [dict map]. + IMPLEMENTATION OF TIP#400 * generic/tclZlib.c: Allow the specification of a compression |