Fuzion Logo
flang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

Record Types

A record type is a collection of fields, possibly of different data types, typically in a fixed number and sequence (from wikipedia).

Features as Record Types

Any Fuzion feature that is not a field implicitly defines a record type. This record type consists of all the fields of the feature, including argument fields and implicit fields such as the result field in features that are declared to return a result of a given type.

NYI: This example does not compile yet:







NYI: This example does compile, but is not useful: