-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getting rid of Ramda dependency #2
Comments
Thank you! Yes, it uses just I actually did what you suggest in another library. See here. As you can see a curry with the same power as Ramdas is a bit longer than what you posted. Given that only |
Sorry i didn't noticed that only the |
Another option is to just use lodash npm modules, glancing through the code I would highly recommend using the following lodash modules: |
@megawac I might have been interested in doing that if |
Ah, at the time I thought you all were talking about an ES spec proposal. I was "heck ya"ing that. Are you using placeholders in this package? |
Not internally. But I'm exposing curried functions and a way to create curried functions. Both of those should support placeholders but users should not care what curry function I'm using internally. That is the reason why I came up with the specification idea in the first place. |
Ah, sorry bout that, but I'm cool not supporting it for now. |
There is now a dependency free build in the |
Should a new version be published? |
I'm not sure. There is no changes made to the version in npm. It is just the addition of a browser friendly build. |
You did update ramda though, I'm using 0.15 in my app so I think browserify would then be capable of flattening the dependency tree into a single instance of Ramda. I also tried
Should that happen? |
Good point. I didn't think of that.
I've just published a new version to npm. How is that working for you? |
Great library!. i've noticed that the lib imports the whole ramda lib but actually just uses the curryN function. Maybe a good idea is to self implement the function and get rid of the ramda deps, this will keep the lib small and minimal (which is a good fit for browser uses) while not locking users into a specific lib.
a quick implementation
The text was updated successfully, but these errors were encountered: