Higher Order Perl Transforming Programs with Programs 2nd Edition by Mark Jason Dominus – Ebook PDF Instant Download/Delivery: 9781558607019, 1558607013
Full download Higher Order Perl Transforming Programs with Programs 2nd Edition after payment
Product details:
ISBN 10: 1558607013
ISBN 13: 9781558607019
Author: Mark Jason Dominus
Most Perl programmers were originally trained as C and Unix programmers, so the Perl programs that they write bear a strong resemblance to C programs. However, Perl incorporates many features that have their roots in other languages such as Lisp. These advanced features are not well understood and are rarely used by most Perl programmers, but they are very powerful. They can automate tasks in everyday programming that are difficult to solve in any other way. One of the most powerful of these techniques is writing functions that manufacture or modify other functions. For example, instead of writing ten similar functions, a programmer can write a general pattern or framework that can then create the functions as needed according to the pattern. For several years Mark Jason Dominus has worked to apply functional programming techniques to Perl. Now Mark brings these flexible programming methods that he has successfully taught in numerous tutorials and training sessions to a wider audience.
* Introduces powerful programming methodsnew to most Perl programmersthat were previously the domain of computer scientists
* Gradually builds up confidence by describing techniques of progressive sophistication
* Shows how to improve everyday programs and includes numerous engaging code examples to illustrate the methods
Higher Order Perl Transforming Programs with Programs 2nd Table of contents:
Chapter 1: Recursion and Callbacks
1.1 DECIMAL TO BINARY CONVERSION
1.2 FACTORIAL
1.3 THE TOWER OF HANOI
1.4 HIERARCHICAL DATA
1.5 APPLICATIONS AND VARIATIONS OF DIRECTORY WALKING
1.6 FUNCTIONAL VERSUS OBJECT-ORIENTED PROGRAMMING
1.7 HTML
1.8 WHEN RECURSION BLOWS UP
Chapter 2: Dispatch Tables
2.1 CONFIGURATION FILE HANDLING
2.2 CALCULATOR
Chapter 3: Caching and Memoization
3.1 CACHING FIXES RECURSION
3.2 INLINE CACHING
3.3 GOOD IDEAS
3.4 MEMOIZATION
3.5 THE MEMOIZE MODULE
3.6 CAVEATS
3.7 KEY GENERATION
3.8 CACHING IN OBJECT METHODS
3.9 PERSISTENT CACHES
3.10 ALTERNATIVES TO MEMOIZATION
3.11 EVANGELISM
3.12 THE BENEFITS OF SPEED
Chapter 4: Iterators
4.1 INTRODUCTION
4.2 HOMEMADE ITERATORS
4.3 EXAMPLES
4.4 FILTERS AND TRANSFORMS
4.5 THE SEMIPREDICATE PROBLEM
4.6 ALTERNATIVE INTERFACES TO ITERATORS
4.7 AN EXTENDED EXAMPLE: WEB SPIDERS
Chapter 5: From Recursion to Iterators
5.1 THE PARTITION PROBLEM REVISITED
5.2 HOW TO CONVERT A RECURSIVE FUNCTION TO AN ITERATOR
5.3 A GENERIC SEARCH ITERATOR
5.4 OTHER GENERAL TECHNIQUES FOR ELIMINATING RECURSION
Chapter 6: Infinite Streams
6.1 LINKED LISTS
6.2 LAZY LINKED LISTS
6.3 RECURSIVE STREAMS
6.4 THE HAMMING PROBLEM
6.5 REGEX STRING GENERATION
6.6 THE NEWTON-RAPHSON METHOD
6.7 POWER SERIES
Chapter 7: Higher-Order Functions and Currying
7.1 CURRYING
7.2 COMMON HIGHER-ORDER FUNCTIONS
7.3 reduce() AND combine()
7.4 DATABASES
Chapter 8: Parsing
8.1 LEXERS
8.2 PARSING IN GENERAL
8.3 RECURSIVE-DESCENT PARSERS
8.4 ARITHMETIC EXPRESSIONS
8.5 PARSING REGEXES
8.6 OUTLINES
8.7 DATABASE-QUERY PARSING
8.8 BACKTRACKING PARSERS
8.9 OVERLOADING
Chapter 9: Declarative Programming
9.1 CONSTRAINT SYSTEMS
9.2 LOCAL PROPAGATION NETWORKS
9.3 LINEAR EQUATIONS
9.4 linogram: A DRAWING SYSTEM
9.5 CONCLUSION
People also search for Higher Order Perl Transforming Programs with Programs 2nd:
higher order perl
higher-order perl transforming programs with programs pdf
higher order perl pdf
higher-order perl
perl higher order functions
Tags:
Higher,Order Perl,Mark Jason Dominus