Hi, I'm having trouble understanding the difference between using

`map`

and `lift`

on a functor
I learned about

`lift`

in The Little Idea of Functional Programming but don't understand why he couldn't use `map`

instead
@ram-bot

`R.map(S.inc, [1, 2, 3])`

`[ 2, 3, 4 ]`

@ram-bot

`S.lift(S.inc, [1, 2, 3])`

`[ 2, 3, 4 ]`

Here’s an implementation of `lift3`

, for example:

`function(f, x, y, z) { return R.ap(R.ap(R.map(f, x), y), z); }`

Lifting involves one `map`

operation and N − 1 `ap`

operations.

Oh, I understand now! So, it seems that the author of said blog post used

`lift`

unnecessary , right?
Although *function* whereas we think of “map” as a transformation of a functor. Perhaps the author chose to use

`map`

and `lift`

are equivalent, one tends to think about them a little differently. Somehow “lift” emphasizes the transformation of a `lift`

for this reason.
Yeah, it kinda makes sense. Thanks!