ramda
Here are 278 public repositories matching this topic...
-
Updated
Jul 16, 2020 - TypeScript
filterIndexed
Is your feature request related to a problem? Please describe.
R.filter doesn't expose index to the predicate function. Let's create a function that does and call it filterIndexed.
Describe the solution you'd like
filterIndexed((v, idx) => idx === 0, [1, 2, 3); // => [1]Possible implementation
const filterIndexed = R.addIndreadme.md
Hi @raine -- I read through the readme. Really liked your examples. Some comments:
- I think it is important to say that you have to use quotes
''for functions with arity greater than 1. But also, quotes aren't required when the function has arity 1. - Also, I would have a paragraph at the beginning of the readme explaining the main livescript syntaxes you are using in the examples: function
-
Updated
Nov 28, 2018 - JavaScript
-
Updated
Aug 30, 2019 - PHP
-
Updated
Nov 30, 2019 - JavaScript
-
Updated
Jun 18, 2020 - JavaScript
-
Updated
Aug 17, 2019 - JavaScript
Describe the bug
Using the snake case function on a camel cased string does not properly convert the string:
> R_.toSnakeCase('fooBar') //=> 'foobar'To Reproduce
https://ramda-extension.firebaseapp.com/repl/?v=%5E0.26.1&ve=0.10.1#?R_.toSnakeCase%28%27fooBar%27%29
Expected behavior
It should properly convert the string:
> R_.toSnakeCase('fooBar') //=> 'foo-
Updated
Jan 23, 2018 - JavaScript
-
Updated
May 22, 2017 - JavaScript
-
Updated
Jun 17, 2020 - PHP
-
Updated
Mar 16, 2020 - JavaScript
-
Updated
Feb 6, 2017 - JavaScript
-
Updated
Apr 22, 2020 - Apex
-
Updated
Jun 6, 2020 - JavaScript
-
Updated
Feb 2, 2018 - JavaScript
-
Updated
Feb 17, 2017 - JavaScript
Improve this page
Add a description, image, and links to the ramda topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the ramda topic, visit your repo's landing page and select "manage topics."
v0.26.1...v0.27.0
xorandThenas a replacement forthenpathsthen, in favor ofandThenisFunctionsto handle additional function typeslensIndexto handle negative indices