!7 p-exp { replace Msg with TelegramMsg. // We're lazy! LPair l = serverTelegramLog_plusFiredRules(); for i over l: { LS rules = l.get(i).b; if (empty(rules)) continue; Msg msg = l.get(i).a; L nextMsgs = pairsA(subList(l, i+1, i+3)); Msg nextMsg = pairA(get(l, i+1)); if (nempty(nextMsgs)) { print(msg.text); printIndent(lines(map(nextMsgs, func(Msg m) { (m.sent ? "BOT" : "USR") + ": " + m.text }))); } } }