docs: function takeNthTransducer(n, xform) {
    let i = -1;
  
    return {
      [p.init]() {
        return xform[p.init]();
      },
  
      [p.step](acc, input) {
        return ++i % n === 0 ? xform[p.step](acc, input) : acc;
      },
  
      [p.result](value) {
        return xform[p.result](value);
      }
    };
  }