Functional programming is a programming paradigm based upon building abstractions using functions, avoiding side effects and change of state.
I have an object: myObject = { 'a': 1, 'b': 2, 'c': 3 } I am looking for a native method, similar to Array.prototype.map …
javascript node.js functional-programming map-functionIn PHP, you can do... range(1, 3); // Array(1, 2, 3) range("A", "C"); // Array("A", "B", "C") That is, there is a function …
javascript arrays functional-programmingI happened to find myself having a basic filtering need: I have a list and I have to filter it …
python list functional-programming filter lambdaWhilst starting to learn lisp, I've come across the term tail-recursive. What does it mean exactly?
algorithm language-agnostic functional-programming recursion tail-recursionI am missing a option how to get the index number inside the map function using List from Immutable.js: …
javascript functional-programming immutable.jsIn Java 8, I want to do something to an Optional object if it is present, and do another thing if …
java functional-programming java-8 optionalIs there a way of doing something like this: $test_array = array("first_key" => "first_value", "second_key" => "…
php functional-programmingfilter, map, and reduce work perfectly in Python 2. Here is an example: >>> def f(x): return x % 2 != 0 …
python python-3.x filter functional-programming reduceI've been mainly exposed to OO programming so far and am looking forward to learning a functional language. My questions …
oop functional-programming paradigmsI've read the Wikipedia article on reactive programming. I've also read the small article on functional reactive programming. The descriptions …
functional-programming terminology reactive-programming frp