opposite traffic lights sketch

A reference clafer is a clafer whose value is another clafer.

We can define the opposite traffic light as follows

abstract TrafficLight
opposite -> TrafficLight
xor signal
stop
proceed
EastWest : TrafficLight
WestEast : TrafficLight

Back to the conclusion of Part III