I'm writing a configuration manipulation layer over libconfig, and I need to allow users to replace items in a list with arbitrary simple types. For example:
foo = (1, 2, 3);
foo = (1, "bar", 3);
Is there an elegant way I can do this without changing libconfig code? If not, can we merge a change into the main line code to enable this functionality?