Fork of the source code examples from the book Functional JavaScript.
We're adding literate coffeescript variants of examples as we work through the text.
- Introducing Functional CoffeeScript
- First-Class Functions and Applicative Programming
- Variable Scope and Closures
- Higher Order Functions
- Function Building Functions
- Recursion
- Purity, Immutability, and Policies for Change
- Flow-Based Programming
- Programming Without Class
-
js arrays - MDN quick ref for native javascript array objects
-
underscore - handy doc site
-
underscore-contrib - various underscore extensions. The library currently contains a number of related capabilities, aggregated into the following files:
array.builders
- to build arraysarray.selectors
- to take things from arrayscollections.walk
- to walk and transform nested JavaScript objectsfunction.arity
- to manipulate and fix function argument arityfunction.combinators
- to combine to make new functionsfunction.iterators
- to lazily produce, manipulate and consume sequence iteratorsfunction.predicates
- that return true or false based on some criteriaobject.builders
- to build JavaScript objectsobject.selectors
- to pick things from JavaScript objectsutil.existential
- functions that check for the existence or truthiness of JavaScript data typesutil.operators
- functions that wrap common (or missing) JavaScript operatorsutil.strings
- to work with stringsutil.trampolines
- to facilitate calling functions recursively without blowing the stack
-
nodeschool's functional-js track
-
functional-python - nice tutorial demonstrating functional python with PyToolz.
-
shape-of-fun - slides for the talk The Shape of Functional Programming.