HACKER Q&A
📣 skywalker212

Book recommendations to learn functional programming


Hope my fellow hackers are doing well. I want to learn more about functional programming and start thinking about problem solutions using the functional way. I would like some book recommendations to get started. Thank you in advance!


  👤 longnguyen Accepted Answer ✓
This is always my favorite: Professor Frisby's Mostly Adequate Guide to Functional Programming [1]

[1] : https://github.com/MostlyAdequate/mostly-adequate-guide


👤 runT1ME
I really recommend Functional Programming in Scala. It takes a first principles approach to Functional Programming and starts with the idea of "how do we write programs if we don't mutate state"? Lots of exercises, from small to longer, and ends up being very practical.

👤 mparis
A freebie online using python: http://www.oreilly.com/programming/free/files/functional-pro...

A freebie online using Haskell: http://learnyouahaskell.com/chapters

I don’t write much Haskell any more but learning it will force FP into your brain. Good luck :)


👤 poletopole
The only book I found helpful in learning functional programming was Lambda calculus and combinators by Hindley. Although you can find it online for free it’s worth buying. What I discovered was that books on Haskell simply weren’t enough to understand the language, you really do need to understand lambda calculus first.

👤 ignoranceprior
Structure and Interpretation of Computer Programs and How to Design Programs are good intros to functional programming in Scheme. They're both free online.