Tagged Questions

Functional programming is a programming paradigm which makes it easy to create, reason about, and compose functions.

learn more… | top users | synonyms (1)

11
votes
4answers
292 views

What are functional-programming ways of implementing Conway's Game of Life

I recently implemented for fun Conway's Game of Life in Javascript (actually coffeescript but same thing). Since javascript can be used as a functional language I was trying to stay to that end of ...
22
votes
7answers
832 views

Should one comment differently in functional languages?

I'm just getting started with functional programming and I'm wondering about the correct way to comment my code. It seems a little redundant to comment a short function as the names and signature ...
5
votes
2answers
134 views

Values, types, kinds, and…?

We all know what a value is. A type is the type of a value. A kind is (loosely) the type of a type. A type constructs a value; a kind constructs a type. So what is the type of a kind, a thing that ...
1
vote
2answers
153 views

Most “native”/integrated functional language for Mac OS X development?

If one views the CLR/.NET runtime and associated libraries as the future of windows, then the F# programming language could be seen in that light as the most native functional language. Meaning that ...
4
votes
3answers
196 views

What are combinators and how are they applied to programming projects? (practical explanation)

What are combinators? I'm looking for: a practical explanation examples of how they are used examples of how combinators improve the quality/generality of code I'm not looking for: explanations ...
6
votes
4answers
334 views

Example of where Functional Programming is Superior to Imperative or Object-Oriented Programming? [closed]

Possible Duplicate: Which problems domains are more suited to functional programming solutions I've been reading about functional programming. I've been using mostly C#.net recently, and ...
7
votes
4answers
304 views

Which functional language is good for a beginner? [closed]

Possible Duplicate: Choosing a functional programming language I am a C++ programmer looking to learn a functional language as a hobby and out of sheer curiosity. I am not looking to be an ...
18
votes
3answers
564 views

what is the purpose of arrows?

I am learning functionnal programming with Haskell, and I try to grab concepts by first understanding why do I need them. I would like to know the goal of arrows in functional programming languages. ...
2
votes
0answers
107 views

Should I start out with Lisp or go straight to Clojure? [closed]

I have no experience in functional programming but want to learn it in order to become a better programmer and expand my horizons. I do most of my programming on the JVM using Java and Groovy. I’m ...
2
votes
2answers
250 views

Which problems domains are more suited to functional programming solutions

Which problems domains are more suited to functional programming solutions and why? Can anyone provide any examples? EDIT Just to clarify, I'm not asking for a list of problems. I want to know what ...
1
vote
2answers
108 views

How can I translate ML code to F#?

Recently I found a book, Purely Functional Data Structures and all the examples in this book are given in ML with Haskell versions in its appendix. But I only know one programming language with the ...
3
votes
2answers
215 views

Why isn't functional programming embraced more widely? [closed]

Possible Duplicate: Why isn't functional programming more popular in the industry? Does it catch on now? I've been working as a J2EE developer for the past 3 years and wanted to learn ...
5
votes
2answers
159 views

Functional programming: Writing a small interpreter

I'm working on a small Unix shell, and am contemplating the idea of writing a script interpreter. While reading about the subject I inevitably hear of functional programming, lambda calculus, and find ...
11
votes
5answers
286 views

How should someone used to FP thinking read imperative code?

I graduated from university about five months ago, and have been working in a local startup for past four months. While at university, I studied Haskell, F# etc on my own. We were taught Java at the ...
6
votes
3answers
291 views

Long parameter list versus long state variable list

In a C++ book, the author says we no longer need a function with a long parameter list because most of the parameters can be refactored into state variables in a class. On the other hand, a ...

1 2 3 4 5 8
15 30 50 per page