!7 concept TitleSeen { S title; } cmodule OperationGroupSpike > DynPrintLog { L theories = syncList(); // a theory here is a list of things class Theory { Set examples; } class PrefixTheory { S prefix; } class SuffixTheory { S suffix; } start-thread { dbIndexing(TitleSeen, 'title); doEvery(3.0, rEnter gather); } void gather { L l = dm_windows(); LS titles = collect windowTitle(l); oMap readTitle(this, titles); } void readTitle(S title) { if (uniq_trueIfNew(TitleSeen, +title)) print("New title: " + title); theories.add(titles); } }