1 2 3 4 5 6
type OtherEnum* = enum Success, Failed, More proc some*(x: OtherEnum): bool = x == Success