Comments (5)
This is big IF for the change to Typescript as we are still waiting for varadic arguments support. That may happen this year maybe not. When it does, it may lead to rewrite but it could lead just to easier to read/write typings file.
So meanwhile feel free to open PR with any useful method that you think it is missing in Rambda.
from rambda.
Thanks for opening the issue and your suggestions.
While you explicitly describe your request, it will be much easier for me if you accompany each of them with simple pseudo-code, such as:
const result = R.foo({a: 1, b: '2'}, R.type)
// result is `['Number', 'String']`
In general I am open to implement all of your suggestions, but that will have to wait for Typescript 2.8 to arrive(between 1 and 2 months from now).
Then Rambda will switch to Typescript and all of method will be rewritten. During this major change, I will implement all of your suggestions.
I hope you do understand and I will wait for the pseudo-codes.
from rambda.
Why the switch to TypeScript? Surely that will just cut down on the pool of people who could help with the project.
I was just looking at switching to this from Ramda, with the view that I would just implement and contribute any methods that I currently use that are currently missing. If you switch to TypeScript then I think I will just have to fork the project which is a shame.
from rambda.
I can help you with some of these functions, but can you answer some questions first? I have read the CONTRIBUTING.md
.
It seems like you implement functions twice, in bothYou have alib
andmodules
.prepublish
command to buildlib
frommodules
, but why do you commit it? Do you expect contributors to commit it as well?- It seems like you haven't migrated to TypeScript yet. Is that right?
- You have
dissoc
but noassoc
. Is there anassoc
under a different name?
I need assoc
and flatMap
myself.
from rambda.
That is very nice of you to help me out.
Here are the answers:
- I commit it as it is needed for ES5 support. I don't expect the contributors to run the
prepublish
command. - No. Still waiting for varadic support landing in Typescript microsoft/TypeScript#5453
assoc
landed because of someone did a PR. Feel free to adddissoc
if you need it.
from rambda.
Related Issues (20)
- All merge functions ignore keys with function values HOT 3
- Is there any alternative to or plan to include __ placeholder function? HOT 1
- [Deno] mergeRight not found on import HOT 2
- Function Ramda.mergeDeepRight looses methods of target object HOT 1
- Doc issues HOT 8
- Upcoming tasks HOT 41
- `modifyPath` missing from 7.1.4 npm package HOT 3
- `mapObjIndex` cannot convert undefined or null to object HOT 4
- Predicate created by `anyPass` can't be used with array `.filter` HOT 4
- Webpack optimization bailout due to side effects in rambda.mjs HOT 14
- R.where short curcuiting HOT 3
- R.clone does not work with mongodb ObjectId HOT 3
- mergeDeepRight first parameter does not work with objects containing functions HOT 2
- New library that doesn't follow Ramda API HOT 14
- Bug: Unused generic type HOT 2
- TypeScript Error while using filter in pipe HOT 2
- Regression in rambda 7.4 HOT 12
- Unfair size comparison to ramda HOT 5
- yarn out doesn't work HOT 2
- types of path are breaking in 7.4.0 HOT 11
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 rambda.