r/functionalprogramming • u/refql • 2d ago
JavaScript I kept writing Hindley-Milner signatures in my comments, so I made them type-check
r/functionalprogramming • u/refql • 2d ago
r/functionalprogramming • u/maga_ot_oz • Jul 01 '22
Hi folks,
As the title suggest I'm looking for resources to learn functional programming in JavaScript. All suggestions are welcome - books, courses, etc.
r/functionalprogramming • • Jul 31 '19
As the title states, what do you recommend? I am fairly new to programming overall, hence the JavaScript. I have also come across Ramda.js functional programming library. Any thoughts for a newbie?
r/functionalprogramming • u/Zyansheep • Jun 26 '22
r/functionalprogramming • u/Akios_Dev • Oct 13 '20
How do I write this javascript function in a immutable fashion?
I mean without pushing values into a array, is there a way to do it all in one function?
is there a function for this in lodash or ramda ? how would you do it ?
getTexts: async (page, handlers) => {
let texts = [];
handlers.map(async (handler) => {
const text = await page.$eval(handler, (e) => e.innerText);
texts.push(text);
});
return texts;
},r/functionalprogramming • u/ragnarecek • Jun 22 '21
Hi everyone, I have tried describing the difference between imperative and declarative programming. It's not the first time that I have tried and I am hoping that I am able to communicate it in a clear way but I would appreciate the feedback of the community.
Please have a look at
the Medium post: https://medium.com/weekly-webtips/imperative-vs-declarative-programming-in-javascript-25511b90cdb7
and the YouTube video: https://www.youtube.com/watch?v=oFXOLbAX4Pw
r/functionalprogramming • u/NoCoach5479 • Mar 13 '24
A first version.
Please have a look and share your thoughts/ideas.
Thanks!