On 21/03/2011, at 12:01 PM, Bruno Le Floch wrote:

> I quickly grepped through xor, and it seems easy to change since the
> most complicated thing that is done with \seq_elt:w and \seq_elt_end:
> is
> 
>    \cs_set_nopar:Npn \seq_elt:w ##1\seq_elt_end: {##1,}
> 
> which can be replaced by
> 
>    \cs_set_nopar:Npn \seq_elt:n ##1 {##1,}

Or, much preferred from my point of view, to add some seq-transformation functions such as

    \seq_to_clist:N

or

    \clist_set_from_seq:NN

which seems to be what's happening above. In fact, this latter function is already present in l3candidates awaiting possible inclusion into l3seq.

W