Python clone of Ramda.js
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
polybean opened this issue 3 years ago · comments
@curry def map(f, xs): if isinstance(xs, collections.Mapping): return dict([(k, f(v)) for k, v in xs.items()]) return [f(x) for x in xs]
AttributeError: module 'collections' has no attribute 'Mapping'
@polybean Can you test that everything works for you now? Update to 0.6.5