Top "Functional-programming" questions

Functional programming is a programming paradigm based upon building abstractions using functions, avoiding side effects and change of state.

Map or reduce with index in Swift

Is there a way to get the index of the array in map or reduce in Swift? I'm looking for …

swift functional-programming
Why should I learn Lisp?

I really feel that I should learn Lisp and there are plenty of good resources out there to help me …

functional-programming lisp
How can a time function exist in functional programming?

I've to admit that I don't know much about functional programming. I read about it from here and there, and …

functional-programming
Truly understanding the difference between procedural and functional

I'm really having a hard time understanding the difference between procedural and functional programming paradigms. Here are the first two …

programming-languages functional-programming procedural-programming
How to perform nested 'if' statements using Java 8/lambda?

I have the following code and would like to implement it using lambda functions just for fun. Can it be …

java lambda java-8 functional-programming nested-if
Set operations (union, intersection) on Swift array?

Are there any standard library calls I can use to either perform set operations on two arrays, or implement such …

functional-programming swift set-operations
Get first element of a collection that matches iterator function

I would like to achieve something like _.first with _.filter, that is, having a collection of elements, I'd like to …

javascript collections functional-programming underscore.js
What are the benefits of functional programming?

What do you think the benefits of functional programming are? And how do they apply to programmers today? What are …

functional-programming
How to get String from Mono<String> in reactive java

I have a method which accepts Mono as a param. All I want is to get the actual String from …

java lambda functional-programming reactive-programming
When to use a functional programming language?

In which situations should I choose to use a functional programming language over a more verbose object-oriented language like C++, …

functional-programming language-agnostic