latex3/svn-mirror — Issue #55: Conversion functions `\seq_set_from_tl:Nn` etc
Author: blefloch
Created: 2011-11-21 16:01:53+00:00
State: open

We have `\seq_(set|gset)_from_clist:NN`, `\seq_(set|gset)_from_clist:Nn` and `\clist_(set|gset)_from_seq:NN`. I recently felt the need for `\seq_set_from_tl:Nn` to initialize a sequence variable. Would it make sense to add all conversion functions between `tl`, `clist` and `seq` (as lists of items)?

Note that `\tl_set_from_clist:NN` is not just copying: it encloses each item in the clist in braces (perhaps only if that's more than one token?). In the same way, `\clist_set_from_tl:NN` adds commas.

On a similar idea, `\seq_set_from_prop_keys:NN` might make sense (to get a sequence of all keys in a prop).