On Tue, 11 Dec 2007 11:10:33 +0100, Lars Hellström wrote:

>>>> Something like what Heiko does in zref?
>
> I didn't comment on this because I don't know what Heiko does in zref.

Basically puts a \textsuperscript{exp} directly after the control sequence  
but before any arguments so it appears as
   \cs{zposx}\textsuperscript{exp}\marg{refname}

> These \package{doc}y issues is something I intend to return to in a  
> separate thread, but I'd probably prefer a syntax like
>
>   \begin{function}{clist_map_inline}{Nn,cn,nn}
>
> Would you like an implementation of that?

This looks like a good syntax to me. I'd like that.
-- 
Morten