code: function map(parent$, fn) {
    let newStream = fork$(parent$, fn);
    parent$.listeners.push(function mapValue(value) {
      newStream(fn(value));
    });
    return newStream;
  }
docs: /*
  provides a new stream applying a transformation function to the value of a parent stream