latex3/svn-mirror — Issue #69: Error detection with \cs_new:Nn
Author: blefloch
Created: 2012-02-12 21:59:51+00:00
State: open

It seems that there is some frequent confusion about expansion, with people expecting

\cs_new:Nn \bar:foo { ... }

to expand its arguments. Perhaps we should check that functions defined using `\cs_new...:Nn` (and I'd say `\cs_(g)set...:Nn` too) only have `N` and `n` in their arg spec? This comes with a performance cost at definition time, but those functions are already slow anyways.