const map = f => observable => observe => { return subscribe(observable) (x => observe(f(x))); }
Really helpful post, however, I disagree with the upper statement.
Iven Marquardt
74

Would it be easier to define the map for the observable type itself, not for the factory?

You could then lift it to the factory if needed.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.