A new book about programming with Haskell
Amazon paperback $29.99 | DRM-free PDF $19.99.
In Haskell from the Very Beginning John Whitington takes a no-prerequisites approach to teaching the basics of a modern general-purpose programming language. Each small, self-contained chapter introduces a new topic, building until the reader can write quite substantial programs. There are plenty of questions and, crucially, worked answers and hints.
Haskell from the Very Beginning will appeal both to new programmers, and to experienced programmers eager to explore functional languages such as Haskell. It is suitable both for formal use within an undergraduate or graduate curriculum, and for the interested amateur.
Examples and Exercises in electronic form can be downloaded here.
4. Making Lists
5. Sorting Things
7. When Things Go Wrong
8. Looking Things Up
9. More with Functions
11. Growing Trees
12. The Other Numbers
13. Being Lazy
14. In and Out
15. Building Bigger Programs
16. The Standard Prelude and Base