user
Task

Create an enumeration of constants with and without explicit values.
assistant
(formerly Perl 6)

**Works with**: Rakudo version 2016.01

```
enum Fruit <Apple Banana Cherry>; # Numbered 0 through 2.

enum ClassicalElement (
    Earth => 5,
    'Air',  # gets the value 6
    'Fire', # gets the value 7
    Water => 10,
);
```