Skip to content
#

ramda

Here are 278 public repositories matching this topic...

CrossEye
CrossEye commented Feb 12, 2020

v0.26.1...v0.27.0

🆕 Added:

  • #2646 🆕 xor
  • #2772 🆕 andThen as a replacement for then
  • #2742 🆕 paths

Removed:

  • #2700 then, in favor of andThen

💡 Changes:

  • #2513 enhances isFunctions to handle additional function types
  • #2670 updates lensIndex to handle negative indices
ramda-adjunct
char0n
char0n commented Mar 14, 2020

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.addInd
thurt
thurt commented May 13, 2016

Hi @raine -- I read through the readme. Really liked your examples. Some comments:

  1. 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.
  2. Also, I would have a paragraph at the beginning of the readme explaining the main livescript syntaxes you are using in the examples: function

A demo for the ReactJS Tampa Bay meetup showing how to build a React+Redux-like architecture from scratch using Inferno, Most.js, reactive programmning, and various functional programming tools & techniques

  • Updated Feb 2, 2018
  • JavaScript

Improve this page

Add a description, image, and links to the ramda topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ramda topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.