Richard BirdCambridge University Press, 10/9/2014EAN 9781107452640, ISBN10: 1107452643Paperback, 354 pages, 24.7 x 17.4 x 2 cmLanguage: EnglishRichard Bird is famed for the clarity and rigour of his writing. His new textbook, which introduces functional programming to students, emphasises fundamental techniques for reasoning mathematically about functional programs. By studying the underlying equational laws, the book enables students to apply calculational reasoning to their programs, both to understand their properties and to make them more efficient. The book has been designed to fit a first- or second-year undergraduate course and is a thorough overhaul and replacement of his earlier textbooks. It features case studies in Sudoku and pretty-printing, and over 100 carefully selected exercises with solutions. This engaging text will be welcomed by students and teachers alike.Preface1. What is functional programming?2. Expressions, types and values3. Numbers4. Lists5. A simple Sudoku solver6. Proofs7. Efficiency8. Pretty-printing9. Infinite lists10. Imperative functional programming11. Parsing12. A simple equational calculatorIndex.