enumeration

fun enumeration(members: List<String>, optional: Boolean = false): MilanoType

An enum type from its members in declaration order. This is the constructor to reach for: Kind.Enum takes any Set, and a set that does not keep insertion order loses the declaration order, which is what the zero value reads (expression language spec, Host functions). The order is never part of the type's identity: two enum types are equal by member set.