Tagged Questions
524
votes
15answers
59k views
Getting started with Haskell [closed]
For a few days I've tried to wrap my head around the functional programming paradigm in Haskell. I've done this by reading tutorials and watching screencasts, but nothing really seems to stick.
Now, ...
79
votes
0answers
10k views
Can anyone explain Monads? [duplicate]
Possible Duplicate:
What is a monad?
I think I understand what 'Maybe Monads' are, but I'm not sure about the other types.
70
votes
6answers
10k views
How can I use functional programming in the real world?
Functional languages are good because they avoid bugs by eliminating state, but also because they can be easily parallelized automatically for you, without you having to worry about the thread count.
...
239
votes
7answers
19k views
Large-scale design in Haskell?
What is a good way to design/structure large functional programs, especially in Haskell?
I've been through a bunch of the tutorials (Write Yourself a Scheme being my favorite, with Real World Haskell ...
114
votes
1answer
7k views
What's the status of multicore programming in Haskell?
What's the status of multicore programming in Haskell? What projects, tools, and libraries are available now? What experience reports have there been?
83
votes
7answers
16k views
What are the primary differences between Haskell and F#?
I've searched on the Internet for comparisons between F# and Haskell but haven't found anything really definitive. What are the primary differences and why would I want to choose one over the other?
19
votes
6answers
2k views
Is Haskell truly pure (is any language that deals with input and output outside the system)?
After touching on Monads in respect to functional programming, does the feature actually make a language pure, or is it just another "get out of jail free card" for reasoning of computer systems in ...
13
votes
6answers
563 views
How do functors work in haskell?
I'm trying to learn Haskell and I'm through all the basics. But now I'm stuck, trying to get my head around functors.
I've read that "A functor transforms one category into another category". What ...
173
votes
10answers
20k views
Is functional GUI programming possible?
I've recently caught the FP bug (trying to learn Haskell), and I've been really impressed with what I've seen so far (first-class functions, lazy evaluation, and all the other goodies). I'm no expert ...
34
votes
8answers
8k views
Haskell's algebraic data types
I'm trying to fully understand all of Haskell's concepts.
In what ways are algebraic data types similar to generic types, e.g., in C# and Java? And how are they different? What's so algebraic about ...
15
votes
4answers
1k views
Handling incremental Data Modeling Changes in Functional Programming
Most of the problems I have to solve in my job as a developer have to do with data modeling.
For example in a OOP Web Application world I often have to change the data properties that are in a object ...
23
votes
6answers
4k views
Real world Haskell programming
Having been an imperative developer for some years now, I had never had the urge to learn functional programming.
A couple months ago at last I decided to learn Haskell. It's quite a cool language, ...
13
votes
3answers
2k views
Sampling sequences of random numbers in Haskell
I need small lists of gaussian random numbers for a simulation and so I tried the following:
import System.Random
seed = 10101
gen = mkStdGen seed
boxMuller mu sigma (r1,r2) = mu + sigma * sqrt ...
76
votes
16answers
11k views
Beginners Guide to Haskell? [closed]
I've been looking for a decent guide to Haskell for some time, but haven't been able to find one that seems interesting enough to read through and/or makes sense.
I've had prior exposure to Haskell a ...
71
votes
9answers
4k views
How do functional programming languages work?
I was just reading this excellent post, and got some better understanding of what exactly object oriented programming is, how Java implements it in one extreme manner, and how functional programming ...