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 | 6c99b4f5451a3804f546cfe6a2164835603f67e6 (patch) | |
tree | b39ac82a9bce6a5b82d8c2ec8cae14c64e4ffc86 /ChangeLog | |
parent | 37f4435517b352b24b20260f00401120be11547b (diff) | |
parent | 7e90ca9d199a4a36d05b93ef6912cccf5da60e6b (diff) | |
download | tcl-6c99b4f5451a3804f546cfe6a2164835603f67e6.zip tcl-6c99b4f5451a3804f546cfe6a2164835603f67e6.tar.gz tcl-6c99b4f5451a3804f546cfe6a2164835603f67e6.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 |