Array indexed by enum

It’s not type piracy as long as Fruit is a type that you defined, so this should be fine.

1 Like