Skip to main content

Questions tagged [ramda.js]

JavaScript library for functional programming that allows for easy functional composition.

Filter by
Sorted by
Tagged with
11 votes
2 answers
656 views

FizzBuzz in JavaScript using Ramda

Just getting up to speed in Ramda, I have implemented this: ...
Keith Nicholas's user avatar
5 votes
1 answer
284 views

Voting app in JavaScript using Ramda

I'm just learning functional programming in JavaScript using Ramda. I took this tutorial and implemented the server core.js component using Ramda. The idea is that we'll have a collection of things ...
jxl118's user avatar
  • 51
3 votes
1 answer
368 views

Using Ramda in point-free way to transform data into new format

Recently I asked on SO about using point free methods to rearrange some data The idea was to turn data in this format: ...
1252748's user avatar
  • 187
3 votes
0 answers
250 views

Refactored calls to an api using Ramda.js

This is the original code for accessing a service endpoint that returns information about a product. The exported methods of this module each take a single param of "id" and returns a Promise. I've ...
Troy Watt's user avatar
  • 191
3 votes
0 answers
94 views

OAuth 1.0 signature using Ramda

I created an OAuth 1.0 signature generator using Ramda based on this. I'm just getting to grips with it, so was wondering if someone more familiar with Ramda and functional programming would give me ...
Adam McGrath's user avatar
2 votes
2 answers
134 views

Ramda - Forming a string based on array of word positions

I saw this question and wondered how it'd be best to accomplish this using Ramda. I'm new to the library so I thought it'd be an interesting learning exercise. I have a working solution but it seems ...
OliverRadini's user avatar
1 vote
2 answers
77 views

Getting a string from a range of possible paths

I have a scenario where I need to grab the first occurrence of a string from an object, but only if the match occurs in one of the path's that have been pre-defined. ...
user2627546's user avatar
1 vote
1 answer
59 views

Join a JSON object of arrays and reduce down to one key [closed]

Given that I have a dataset as follows: { 1: ['Extremely Tall'], 2: ['Tall'], 3: ['Medium', 'Low'], 4: ['Dwarf'] } and I receive a value (e.g. Tall or Medium) I ...
Storms786's user avatar
  • 123
1 vote
1 answer
494 views

Group orders with Ramda

I made some crude code using RamdaJS to essentially group orders by their states. There are some nested structures. Currently, I have a working code, but I wondering if Ramda can perhaps help to clean ...
FredyC's user avatar
  • 217
0 votes
0 answers
38 views

Testing whether parenthesis are correct in a string in functional JS

This is a homework exercise and therefore has no further purpose. The writing to me feels clunky, and the typescript types on addParenthesisFactory are unreadable, ...
Tomer Kandel's user avatar