make transducing channels more robust
in transducer example, add a fixed version of mapcat