Frank Mittelbach wrote:
> > * What is \prop_gput:Ooo for? Hasn't got \prop_gput:Noo the
> > same functionality? (Let alone that \prop_gput:Ooo doesn't
> > work, yet.)
>
> O in contrast to o means single expanion on an input which is a single token
> ie no braces around it.
>
> \tlp_new:N \l_tmp_tlp
^^^^^^^^^^
;-)
I am doing this mistake frequently. But there is only a
\tlp_clear_new:N. Maybe there really should exist a \tlp_new:N.
> \prop_new:N \g_foo_prop
>
> \tlp_set:Nn \l_tmp_tlp {\g_foo_prop}
>
> \prop_gput:Ooo \l_tmp_tlp ...
Hmm... But this could be done with \prop_gput:Noo as well.
\RequirePackage{l3prop}
\RequirePackage{l3tlp}
\ExplSyntaxOn
\tlp_new:Nn \l_tmp_tlp {}
\prop_new:N \g_foo_prop
\tlp_set:Nn \l_tmp_tlp {\g_foo_prop}
\prop_gput:Noo \l_tmp_tlp {key}{info}
\prop_map_inline:Nn \g_foo_prop {\io_put_term:x{#1:~ #2}}
\stop
Ciao
Andreas