On 26/05/2012 23:06, Bruno Le Floch wrote:
> I'm no keys expert, but couldn't
> 
>   \int_set:Nn \l_modul_myoption_int { 2 }
> 
> do the job, at least in this case?
> 
> Cheers,
> Bruno

Yes it would. The question here is mainly conceptual: setting up key
defaults using a keyval interface rather than whatever is the underlying
implementation. That's more noticeable with a key which is attached to
arbitrary code, for example a multiple choice or .code:n key.
-- 
Joseph Wright