On 02.01.13 22:45, Haoyi Li wrote: > Something curried? > > custom_dict(cfg=...)(key1=..., key2=...) Yes, it looks good. In any case custom_dict() should return a new type, not dict, for allow serialization.