How to use same variable of Ramda with Ramda Adjunct
See original GitHub issueIs it technically possible to use the same variable of Ramda with this library? I basically want to avoid to use different API for this addon…maybe with Object.assign
?
What I mean is:
let _ = require('ramda)
let RA = require('ramda-adjunct')
Object.assign(_, RA)
console.log(_.isBoolean(true)) // true
BTW, great library! I was almost switching to lodash/fp before finding this!
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (9 by maintainers)
Top Results From Across the Web
RA - Documentation
Note: R.concat expects both arguments to be of the same type, ... This function acts as interop for ramda <= 0.23.0 and monet.js....
Read more >How to use the ramda-adjunct.isNilOrEmpty function in ...
Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues...
Read more >Ramda Documentation
Creates a new list iteration function from an existing one by adding two new parameters to its callback function: the current index, and...
Read more >Rename keys with ramda js
You can combine Ramda with Ramda Adjunct. Using the renameKeys ... Third, you can use object-based rename rules from the first example and ......
Read more >ramda-adjunct
Ramda Adjunct is the most popular and most comprehensive set of utilities for use with Ramda, providing a variety of useful, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@BjornMelgaard Indeed I use Ramda mainly in node so yes, it’s a non issue for me too, but thanks for letting me know about this problem.
Ok this issue has been categorized as feature. RA.adjunct will be created to encapsulate the logic.
Meantime use
Object.assign(R, RA)
as a workaround.