《函数式编程指南》 是使用 JavaScript 进行函数式编程的书籍,告诉大家如何在日常工作中更好的利用函数式编程的特性。
Chapter 1: What ever are we doing?
Introductions
A brief encounter
Chapter 2: First Class Functions
A quick review
Why favor first class?
Chapter 3: Pure Happiness with Pure Functions
Oh to be pure again
Side effects may include…
8th grade math
The case for purity
In Summary
Chapter 4: Currying
Can’t live if livin’ is without you
More than a pun / Special sauce
Chapter 5: Coding by Composing
Functional Husbandry
Pointfree
Debugging
Category Theory
Chapter 6: Example Application
Declarative Coding
A flickr of functional programming
A Principled Refactor
Chapter 7: Hindley-Milner and Me
What’s your type?
Tales from the cryptic
Narrowing the possibility
Free as in theorem
Chapter 8: Tupperware
The Mighty Container
My First Functor
Schrödinger’s Maybe
Pure Error Handling
Old McDonald had Effects…
Asynchronous Tasks
A Spot of Theory
Chapter 9: Monadic Onions
Pointy Functor Factory
Mixing Metaphors
My chain hits my chest
Theory