# The Hugs 98 User's Guide

Table of Contents
The Hugs 98 License
1. Introduction
  1.1. Other sources of information
    1.1.1. Other documentation
    1.1.2. Mailing lists
2. Using Hugs
  2.1. Basic operation
  2.2. Loading and editing Haskell module files
  2.3. Getting information
  2.4. Miscellaneous commands
3. Changing the behaviour of Hugs
  3.1. Hugs options
    3.1.1. Language options
    3.1.2. Module loading options
    3.1.3. Specifying a source file editor
    3.1.4. Evaluation and printing options
    3.1.5. Resource usage options
  3.2. Environment variables used by Hugs
  3.3. Standalone programs
  3.4. Compiling modules that use the Foreign Function Interface
4. Hugs vs Haskell 98 and addenda
  4.1. Haskell 98 non-compliance
    4.1.1. Lexical structure
    4.1.2. Expressions
    4.1.3. Declarations and bindings
    4.1.4. Modules
    4.1.5. Predefined types and classes
  4.2. Addenda to Haskell 98
    4.2.1. Foreign Function Interface
    4.2.2. Hierarchical Namespace Extension
5. Language extensions supported by Hugs and GHC
  5.1. Syntactic extensions
    5.1.1. Recursive do-notation
    5.1.2. Parallel list comprehensions (a.k.a. zip-comprehensions)
  5.2. Type class extensions
    5.2.1. More flexible contexts
    5.2.2. More flexible instance declarations
    5.2.3. Overlapping instances
    5.2.4. Multiple parameter type classes
    5.2.5. Functional dependencies
  5.3. Quantified types
    5.3.1. Rank 2 types
    5.3.2. Polymorphic components
    5.3.3. Existential quantification
  5.4. Type annotations in patterns
  5.5. Implicit parameters
    5.5.1. Implicit-parameter type constraints
    5.5.2. Implicit-parameter bindings
6. Hugs-specific language extensions
  6.1. Typed extensible records
  6.2. Restricted type synonyms
  6.3. Here documents
  6.4. Hugs debugging primitives
    6.4.1. Using HugsHood
    6.4.2. Differences from Hood
    6.4.3. Reporting HugsHood bugs
7. Miscellaneous
  7.1. Hugs 98 release history
    7.1.1. January 1999 (Beta release)
    7.1.2. May 1999
    7.1.3. November 1999
    7.1.4. February 2001
    7.1.5. December 2001
    7.1.6. November 2002
    7.1.7. November 2003

|  | Next
|  | The Hugs 98 License