if I have an @enum defined like this: @enum CircPolType RightPol=1 LeftPol=-1,

And would like to then uses instances RightPol and LeftPol directly with their integer values in mathematical operations without having to wrap them always in Int(), what would be the preferred approach?

Should I redefine the mathematical operations for type CircPolType or is there something like defining promotion_rules to make it work more elegantly? (I tried looking at promotion_rule but couldn’t figure out how to make it work for my use case)

As an example, if I have:

```
pol = LeftPol
test = 3 * pol
```

I would like the result to be `test == -3`

, but I just get an error as `*(::Int,::CircPolType)`

is not defined