by CRUDmeariver on 6/13/16, 7:30 PM with 6 comments
I'm trying to figure out a fun side project that will give me an opportunity to get deeper into the weeds of FP. I'm not sure whether to take a simple idea you could do in OO (i.e. a CRUD app) and do it in an FP language, or look for a problem that is more suited to the domain of FP.
What are the characteristics of a problem that is especially suited to FP? Or is it a pointless distinction? And how much of the theory is actually worth learning if I don't plan on using Haskell?
by bbcbasic on 6/14/16, 5:38 AM
For parallel and concurrency programming this book is excellent http://chimera.labs.oreilly.com/books/1230000000929 and is free online to read. I am working through the concurrency chapters and it is blowing my mind how excellent concurrency support is in Haskell AND how someone who is smart enough to work on the GHC for 15 years can explain concurrency in a way that is accessible to someone fairly new to Haskell and concurrency. You'd probably need the grounding of haskellbook first though before reading this.
For a Haskell project I have decided to make a stock exchange using the concurrency I am learning from the above book. Eventually it may be good enough for someone wanting to run a bitcoin exchange or similar. Happy to have you help me if you like.
> What are the characteristics of a problem that is especially suited to FP?
Really, any programming problem is suitable for FP. I think web applications and server applications are especially suited. Writing desktop applications is trickier mainly because of a lack of a really nice paradigm. The nicest thing I've seen so far in that respect is the Elm language - which is for the browser but the ideas could be applied to the native desktop too.
The classic applications for FP is compilers but Haskell is a general purpose language and ideal for producing the kind of business apps that Java/C# is often used for.
by AnimalMuppet on 6/13/16, 8:21 PM
by eatonphil on 6/14/16, 5:49 PM
by runT1ME on 6/13/16, 8:22 PM
https://www.amazon.com/Functional-Programming-Scala-Paul-Chi...
by meric on 6/14/16, 1:47 AM