Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AIP-91][Discussion] Enum Types in the Move VM #484

Open
thepomeranian opened this issue Aug 14, 2024 · 0 comments
Open

[AIP-91][Discussion] Enum Types in the Move VM #484

thepomeranian opened this issue Aug 14, 2024 · 0 comments

Comments

@thepomeranian
Copy link
Collaborator

AIP Discussion

Move-2 adds a collection of new features to the Move language as it is used on Aptos. Enum types (often also referred to as algebraic data types, ADT) is one of those features. Move enum types allow to specify a set of variants of the structure of a value. Code can be written which inspects values at runtime, matching over the possible variants. In this AIP the extensions to the Move VM enabling enum types are described.

Read more about it here: https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-91.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant