Comments (2)
Hello.I can't reproduce this:
from ramda import *
print(pipe(map(lambda value: value + 1),)([1, 2, 3, 4, 5, 6, 7, 8, 9]),)
# [2, 3, 4, 5, 6, 7, 8, 9, 10]
It seems you just import map from ramda and using python one. Try this in your code:
print(map.__doc__)
it should print 'toolz.functoolz.curry' (ramda) and not 'type' (native)
from ramda.py.
Hi @slavaGanzin!
Thanks for checking, it seems like I was mistaken. Now when I run the same code everything seems to be working fine.
Thank you for porting Ramda to Python, I'm enjoying the usage so far, and your docs are helpful!
from ramda.py.
Related Issues (20)
- If the given path exists, then path_or should return the associated value, even when None HOT 1
- `invoker` fails when arity is 0
- `use_with` fails if one of the transformers is a `lambda` function HOT 2
- Pipe's leftmost function should be able to accept more than one argument HOT 4
- Versioning: Why the change from semver to time? HOT 3
- group_with(equals) should return an empty list given an empty string
- try_catch doesn't evaluate the catcher function
- lt, lte, gt, gte are reversed HOT 1
- adjust/update don't work as expected HOT 1
- repeat isn't curried
- times doesn't work the same as in RamdaJS HOT 1
- `use_with` does not accept a lambda funcction as first argument
- `apply_spec` only works once
- CI is broken. HOT 2
- map failed to work with 3.10 HOT 1
- Wrong result for aperture HOT 3
- Feature request: R.raise HOT 1
- Types for the functions HOT 1
- TypeError exception in path_or() HOT 1
- Calling prop_or may crash in `return o[name]` of prop.py HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ramda.py.