I am trying to write code for a robot simulation. For the direction, I have a DU:
type Direction = North | East | South | West
When the type is South and you give the instruction to turn twice to the right, is there an option that the value practically starts again at North?