# Haskell 98 Language and Libraries

# The Revised Report

### December 2002

## Brief Table of Contents

- Full Table of Contents
- Preface

### Part I: Language

1. Introduction
2. Lexical Structure
3. Expressions
4. Declarations and Bindings
5. Modules
6. Predefined Types and Classes
7. Basic Input/Output
8. Standard Prelude
9. Syntax Reference
10. Specification of Derived Instances
11. Compiler Pragmas

### Part II: Libraries

12. Ratio
13. Complex
14. Numeric
15. Ix
16. Array
17. List
18. Maybe
19. Char

20. Monad
21. IO
22. Directory
23. System
24. Time
25. Locale
26. CPUTime
27. Random

- Bibliography
- Index of Prelude Functions and Types

Simon Peyton Jones [editor], Microsoft Research, Cambridge
Lennart Augustsson, Sandburst Corporation
Dave Barton, Intermetrics
Brian Boutel, Victoria University of Wellington
Warren Burton, Simon Fraser University
Joseph Fasel, Los Alamos National Laboratory
Kevin Hammond, University of St. Andrews
Ralf Hinze, University of Bonn
Paul Hudak, Yale University
John Hughes, Chalmers University of Technology
Thomas Johnsson, Chalmers University of Technology
Mark Jones, Oregon Graduate Institute
John Launchbury, Oregon Graduate Institute
Erik Meijer, Microsoft Corporation
John Peterson, Yale University
Alastair Reid, University of Utah
Colin Runciman, York University
Philip Wadler, Avaya Labs

Copyright (c) Simon Peyton Jones.
The authors intend this Report to belong to the entire Haskell community, and so we grant permission to copy and distribute it for any purpose, provided that it is reproduced in its entirety, including this Notice. Modified versions of this Report may also be copied and distributed for any purpose, provided that the modified version is clearly presented as such, and that it does not claim to be a definition of the language Haskell 98.

The master version of the Haskell Report is at haskell.org. Any corrections or changes in the report are found there.