Y
Hacker News
new
|
ask
|
show
|
jobs
by
Bromskloss
3649 days ago
Looks interesting. How do you tell map what function to use?
1 comments
hcarvalhoalves
3649 days ago
You probably need `compose(foo, partial(map, fn), bar)`.
link
hcrisp
3648 days ago
Yeah, you do this or use curried version:
pytoolz.curried.map(fn)
link