static Producer debugProducer(Producer p) { ret p == null ?: () -> print("Producer returned", p.next()); }