
| Aprintable version of Haskell is available. (edit it) |
| This book has acollection for ordering aprinted copy of this book for a fee.(edit) (help) |
| APDF version is available. (info) |
| AnE-Book Reader optimized PDF Version is available. |
Haskell is afeatured book on Wikibooks because it contains substantial content, it is well-formatted, and the Wikibooks community has decided to feature it on themain page or in other places. Please continue to improve it and thanks for the great work so far! You can edit itsadvertisement template. |
Haskell is afunctional programming language. It is distinct in a few ways:
Haskell is enjoyable to use because dealing with pure functions makes code much easier to reason about, and the advanced type system helps catch silly and profound mistakes.
Our aim in this book is to introduce you to the Haskell programming language — from the very basics to advanced features — and to computer programming in general. We urge seasoned programmers to be especially patient with this process. The languages you are familiar with are likely to differ greatly from Haskell, and the habits acquired from those languages might make it difficult to understand how things work — Haskell is simple, but different. Learning to see the world through the warped mindset of a functional programmer is an adventure in a brave new world, which brings knowledge valuable far beyond the boundaries of any language.
The book is divided into three sections: a Beginner's Track, an Advanced Track, and a section calledHaskell in Practice. The last section, which covers practical use cases, depends only on the Beginner's Track. Seasoned programmers may readthe overview to quickly evaluate what makes Haskell unique and different from other languages.
Please contribute! Anyone, regardless of Haskell competency, can help out. Spend five minutes improving a module and save someone else hours of time. Check out thenotes for contributors. Even if you get confused by a page, tell us about it on the discussion page (politely, of course). |
This section introduces you to Haskell basics and some commonly used libraries. At the end of this track, you should be able to write simple Haskell programs. Most chapters include exercises, with solutions, for your practice.
Haskell Basics[edit |edit source] | Elementary Haskell[edit |edit source] | Intermediate Haskell[edit |edit source] | Monads[edit |edit source] |
This section introduces wider functional programming concepts such as different data structures and type theory. It will also cover more practical topics like concurrency.
Welcome to Haskell[edit |edit source] | Fun with Types[edit |edit source] | Wider Theory[edit |edit source] | Haskell Performance[edit |edit source] |
Day-to-day issues of working with Haskell include items such as knowing the standard libraries, building graphical interfaces, and working with databases. You should be able to jump directly to this section from the beginner's track.
Libraries Reference[edit |edit source] | General Practices[edit |edit source] | Specialised Tasks[edit |edit source] |
The following may be read independently, but their content has been imported and adapted already into the Wikibook here