Skip to content

representing unions/enums #19

@johnynek

Description

@johnynek

Have you given any thought to how one can represent a tagged union/enum: so, we either have struct1, struct2, etc..?

In C this can be done with a struct with a field holding a tag, and then a field that is the union of all the other possibilities.

It would be very interesting to have this ability in wax.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions