code: function transformer(f) {
    var t = {};
    t['@@transducer/init'] = function() {
      throw new Error('init value unavailable');
    };
    t['@@transducer/result'] = function(v) {
      return v;
    };
    t['@@transducer/step'] = f;
    return t;
  }
docs: transformations