Yet Another Haskell Tutorial/Introduction

This tutorial contains a whole host of example code, all of which should have been included in its distribution. If not, please refer to the links on the Haskell web site haskell.org to get it. This book is formatted to make example code stand out from the rest of the text.

Occasionally, we will refer to interaction between you and the operating system and/or the interactive shell (more on this in Section Getting started).

Strewn throughout the tutorial, we will often make additional notes to something written. These are often for making comparisons to other programming languages or adding helpful information.

If we're covering a difficult or confusing topic and there is something you should watch out for, we will place a warning.

Finally, we will sometimes make reference to built-in functions (so-called Prelude-functions). This will look something like this:

Within the body text, Haskell keywords will appear like this:, identifiers as  , types as   and classes as.