Updated 2016-02-15 18:05:17 by dbohdan

lswitch, a command in 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  edit

fptools::match, by dbohdan
Match a list against a pattern.

Description  edit

lswitch is implemented using a heavy dose of knit.

Examples  edit

lswitch unit tests
Various examples of the diff