public interface Visitor{ int Visit (IntInterval iv); int Visit (IntSingular iv); int Visit (IntCompSeq iv); }