in short: you can't.

alternatives include using a Tuple or using a Dict

On Mon, Oct 5, 2015 at 2:53 PM Damien <[email protected]> wrote:

> Hi all,
>
> I'm writing code in which I generate a composite type and various methods
> based on the fields of another type.
>
> I can do this at the expressions level with macros, but can I also
> generate the new type definition in a plain function using introspection?
>
> Best
>

Reply via email to