/ Published in: Python
URL: http://oakwinter.com/code/functional/documentation/cookbook.html
Tired of the Python's "".join(...) idiom requiring you to pre-stringify all the arguments to join()? Yeah, me too.
Expand |
Embed | Plain Text
from functional import partial, compose join = compose("".join, partial(map, str))
You need to login to post a comment.
