'''`[http://core.tcl.tk/tcllib/doc/trunk/embedded/www/tcllib/files/modules/struct/struct_list.html%|%struct::list]`''' is a part of the [struct] module in the [tcllib] distribution. ** Synopsis ** '''`struct::list`''' which provides the following subcommands: : '''assign''' ''sequence varname'' ?''varname ...''? : '''dbJoin''' ?'''-inner'''|'''-left'''|'''-right'''|'''-full'''? ?'''-keys''' ''varname''? '''{'''''keycol table'''''}'''... : '''dbJoinKeyed''' ?'''-inner'''|'''-left'''|'''-right'''|'''-full'''? ?'''-keys''' ''varname''? ''table...'' : '''equal''' ''a b'' : '''filter''' ''sequence cmdprefix'' : '''filterfor''' ''var sequence expr'' : '''firstperm''' ''list'' : '''flatten''' ?'''-full'''? ?'''--'''? ''sequence'' : '''fold''' ''sequence initialvalue cmdprefix'' : '''foreachperm''' ''var list body'' : '''iota''' ''n'' : '''lcsInvert''' ''lcsData len1 len2'' : '''lcsInvert2''' ''lcs1 lcs2 len1 len2'' : '''lcsInvertMerge''' ''lcsData len1 len2'' : '''lcsInvertMerge2''' ''lcs1 lcs2 len1 len2'' : '''longestCommonSubsequence''' ''sequence1 sequence2'' ?''maxOccurs''? : '''longestCommonSubsequence2''' ''sequence1 sequence2'' ?''maxOccurs''? : '''map''' ''sequence cmdprefix'' : '''mapfor''' ''var sequence script'' : '''nextperm''' ''perm'' : '''permutations''' ''list'' : '''repeat''' ''size element1'' ?''element2 element3 ...''? : '''repeatn''' ''value size...'' : '''reverse''' ''sequence'' : '''shift''' ''listvar'' : '''split''' ''sequence cmdprefix'' ?''passVar failVar''? : '''swap''' ''listvar i j'' The prefix ''lcs'', as used by a number of the methods above, stands for '''longest common subsequence'''. ** Documentation ** [http://tcllib.sourceforge.net/doc/struct_list.html%|%official reference]([http://docs.activestate.com/activetcl/8.6/tcllib/struct/struct_list.html%|%alternate]): [http://core.tcl.tk/tcllib/doc/trunk/embedded/www/tcllib/files/modules/struct/struct_list.html%|%official reference], development version: ** Historical ** [https://groups.google.com/forum/#!msg/comp.lang.tcl/ALAUTn1G_qA/p1oS3yAgqe4J%|%comments? new tcllib module: listutil], [comp.lang.tcl], 2001-09-16: [http://web.ncf.ca/glennj/purl.org/tcl/lib/listutil/listutil.tcl.txt%|%listutil.tcl]([https://web.archive.org/web/20050503192757/http://www.magma.ca/~glennj/tcl/lib/listutil/listutil.tcl.txt%|%alternate]), [Glenn Jackman]: this functionality ended up in `[dict]`, `[lsearch]`, `[lassign]`, or `struct::list`, and `[struct::set]`. <> [Package] of [tcllib] | [Category Data Structure]