Haskell: The Craft of Functional Programming / Edition 2by Simon Thompson
Pub. Date: 03/29/1999
The second edition of Haskell: The Craft of Functional Programming is essential reading for beginners to functional programming and newcomers to the Haskell programming language. The emphasis is on the process of crafting programs and the text contains many examples and running case studies, as well as advice an program design, testing, problem solving and how/i>… See more details below
The second edition of Haskell: The Craft of Functional Programming is essential reading for beginners to functional programming and newcomers to the Haskell programming language. The emphasis is on the process of crafting programs and the text contains many examples and running case studies, as well as advice an program design, testing, problem solving and how to avoid common pitfalls.
Building on the strengths of the first edition, the book includes many new and improved features: Complete coverage of Haskell 98, the standard version of Haskell which will be stable and supported by implementations for years to come.
An emphasis on software engineering principles, encouraging a disciplined approach to building reusable libraries of software components.
Detailed coverage of the Hugs interpreter with an appendix covering other implementations.
A running case study of pictures emphasizes the built-in functions which appear in the standard prelude and libraries. It is also used to give an early preview of some of the more complex language features, such as high-order functions.
List comprehensions and the standard functions over lists are covered before recursion.
Early coverage of polymorphism supporting the "toolkit" approach and encouraging the resuse of built-in functions and types.
Extensive reference material containing details of further reading in books, journals and on the World Wide Web.
Accompanying Web Site supporting the book, containing all the program code, further teaching materials and other useful resources.
Table of Contents
|1||Introducing functional programming||3|
|2||Basic types and simple programs||23|
|3||Reasoning about programs||73|
|4||Data structures: lists||89|
|5||Reasoning about lists||131|
|7||Functions as values||171|
|8||Classes in Haskell||203|
|11||Case study: Huffman codes||281|
|12||Abstract data types||303|
|14||Input/output and interaction||397|
|App. A Functional and imperative programming||451|
|App. B Further reading||461|
|App. C Glossary||465|
|App. D Understanding programs||471|
|App. E Haskell operators||475|
|App. F Implementations of Haskell||477|
|App. G Gofer and Hugs errors||479|
|App. H Some useful functions||485|
and post it to your social network
Most Helpful Customer Reviews
See all customer reviews >