You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: