I’m not positive which part you’re referring to.
Alex Dixon

i think i see what you mean.

If they abide by the functor laws you should get what you expect.

-- haskell
fmap id == id
fmap (f . g) == fmap f . fmap g
// javascript
n.map === n
n.map(x => f(g(x))) === n.map(g).map(f)

When it comes to Immutability. Yes, it is non-existent in javascript unless you go out of ur way to learn one of these libraries.

If you have a problem with map . Mine would be Promise . It’s just a botched implementation of Future or Task . 😆

One clap, two clap, three clap, forty?

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