Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can, it just looks like this:

map(functools.partial(operator.add,2), [1, 2, 3])



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: