A comprehensive introduction to functional in Python. This book covers: The three Python paradigms - functional, object-oriented, and procedural programming.Functions as objects, using functions as arguments and return values, lambda functions.Mutable and immutable objects, the advantages of immutability, singletons.Recursion, including tail recursion and memoization.Closures and inner functions.Iterators, iterables, sequences and lazy iteration.Transforming iterables with map, filter, and zipReducing iterables and the map-reduce pattern.Comprehensions and generator comprehensions.Generators.Partial application and currying with built-in functions and the oslash library.Functors and monads with the PyMonad library.No prior knowledge of functional programming is required, just a working knowledge of Python.
ThriftBooks sells millions of used books at the lowest everyday prices. We personally assess every book's quality and offer rare, out-of-print treasures. We deliver the joy of reading in recyclable packaging with free standard shipping on US orders over $20. ThriftBooks.com. Read more. Spend less.