New eBook on Functional Programming in Haskell

GUI Cover

iBook Edition

Kindle Edition (forthcoming)

Nook Edition

Download Demo Programs

This book presents an introduction to functional programming in Haskell. As a purely functional language, Haskell supports the development of programs that consist of cooperating functions and data types. Topics include numeric, text, and list processing, in applications ranging from the simple to the complex. The reader will learn how to write code that is joyful to read and easy to verify. For experienced programmers who want to learn a new way of doing things, or beginners who want the challenge of learning to code in a strict and safe programming environment.


Included features

  • A gentle, just-in-time approach, where no concept is introduced before it is needed
  • A discussion of the basic ideas of functional programming, such as recursion, higher-order functions, algebraic data types, generic types, and type classes
  • Realistic applications, including numerical computation and text-based computation
  • End-of-section programming exercises to try out the ideas presented
  • Complete program examples, from the simple to the complex, also available on the author’s Web site


Brief Table of Contents

Part I. Basic Computations: Data Types, Expressions, and Function Applications
Part II. Basic Data Structures: Lists, Strings, and Tuples
Part III. Functions as Data: Higher-Order Functions and Function-Level Operators
Part IV. Creating New Data Types
Part V. Generic Data Types and Type Classes
Part VI. Interacting with the World: Terminal I/O and Files