'''`lswitch`''', a [command] in `[ycl%|%ycl switch]`, is like `[switch]`, but each ''pattern'' is a [list] of patterns to match against the item in ''string'' at the corresponding position. All `switch` options are supported. ** See Also ** [fptools]::match, by [dbohdan]: Match a list against a pattern. ** Description ** '''`lswitch`''' is implemented using a heavy dose of `[knit]`. ** Examples ** [http://chiselapp.com/user/pooryorick/repository/ycl/artifact?filename=packages/switch/lib/switch.test.tcl&ci=trunk%|%lswitch unit tests]: Various examples of the diff <> list | ycl