!7 cprint { transient new TransformersOnObjects too; switchable long maxSteps = 1000; start-thread { too.addObject(GStatement("A timer is something that times")); too.addObject(GStatement("A waiter is someone who waits")); too.addObject(GQuestion("A timer is...")); too.addTransformer(func(GQuestion q, GStatement s) { if (q.text instanceof S && s.text instanceof S && match((S) q.text, (S) s.text)) ret new GAnswer(s.text); null; }); stepAllWithStats(too, maxSteps); pnlWithClasses(too.getObjects()); } }