The Hugs 98 User's Guide
Prev |  |

# Chapter 7. Miscellaneous

# 7.1. Hugs 98 release history

These are the release notes for the program since it was renamed Hugs 98, reflecting substantial compliance with Haskell 98 (though with numerous optional extensions). Archives of older versions of Gofer and Hugs are still available from Mark Jones's web page.

## 7.1.1. January 1999 (Beta release)

Headline news for this release includes:

- Hugs goes Haskell 98! Hugs 98 is the first released Haskell system to support the new standard for Haskell 98.

- Hugs goes Open Source! Hugs 98 is the first Hugs release to be distributed as Open source software. Responding to requests from users, this relaxes the conditions of use and distribution of previous releases, and will hopefully make it easier to use Hugs for a wide range of projects.

This release of Hugs also merges the features of several earlier releases into one single system. This includes:

- The module system and dynamic linking facilities of Hugs 1.4 (June 1998);

- The type system extensions (multi-parameter classes, TREX, rank-2 polymorphism, existentials, etc.) of Hugs 1.3c p1 (March 1998);

- New features and modifications to support the draft Haskell 98 standard;

- A whole range of bug fixes and additions for all of the above.

## 7.1.2. May 1999

This release is largely conformant with Haskell 98, including monad and record syntax, newtypes, strictness annotations, and modules. In addition, it comes packaged with the libraries defined in the most recent version of the Haskell Library Report and with extension libraries that are compatible with GHC 3.0 and later.

Additional features of the system include:

- "Import chasing": a single module may be loaded, and Hugs will chase down all imports as long as module names are the same as file names and the files are found in the current path.

- A simple GUI for Windows to facilitate program development.

- Library extensions to support concepts such as concurrency, mutable variables and arrays, monadic parsing, tracing (for debugging), graphics, and lazy state threads.

- A Win32 library for complete access to windows, graphics, and other important OS functionalities and a graphics library for easy access to Win32 graphics.

- A "foreign interface" mechanism to facilitate interoperability with C.

## 7.1.3. November 1999

- BSD-style license (replacing the Artistic License)

- new commands :browse and :version

- experimental multi-instance resolution and :xplain command

- functional dependencies

- zero parameter type classes

- better handling of overlapping instances

- various bug fixes

### 7.1.3.1. February 2000

This is purely a bug-fix release of Hugs98 November 99. It fixes the following problems:

- If you defined an instance which inherited a method via a superclass, hugs would go into an infinite loop. Fortunately, most people weren't doing this (except Chris Okasaki...).

- There were a couple of holes in the implementation of implicit parameters ("`with`" wasn't always being scoped properly, sometimes capturing implicit parameters outside of its scope).

- Functional dependencies weren't being properly propagated in some cases with derived instances ("`instance P ... => Q ...`").

### 7.1.3.2. July 2000

This is purely a bug-fix release of Hugs98 February 2000.

## 7.1.4. February 2001

This is a major release that incorporates bug fixes as well as several new features and enhancements that have been developed for Hugs over the last year. It is announced with the intention that it will remain a stable and lightweight implementation of Haskell 98 + extensions for some considerable time.

A list of the most important new features looks as follows:

- A Foreign Function Interface closely modelled after the one provided by GHC.

- Built-in, Hood-like debugging support.

- Parallel list comprehensions, a.k.a. zip-comprehensions.

- A new syntax for recursive monad bindings.

- A new GUI under Windows that doesn't consume all CPU time.

- Support for the MacOS platform integrated into the main distribution.

- Corrections of all bugs reported for the January 2001 beta release.

## 7.1.5. December 2001

The most important features of this new release are:

- The incompatibilities between Hugs and the Haskell Graphics Library have been fixed, and binaries for the HGL are now available on the Hugs download page.

- The missing standard libraries `Directory`, `CPUTime`, `Time` and `Locale` have been added along with a complete implementation of Haskell 98 `IO`.

- Hugs is now delivered with most of the `hslibs` libraries installed in the `lib/exts/` directory. The added modules cover the `Edison`, `Parsec`, `HaXml`, `QuickCheck`, `concurrent`, `monad` and `html` subdirectories of `hslibs`.

- The :set option now refuses the user to set a module search path that doesn't contain the `Prelude`. This is to protect users from accidentally rendering their Hugs setups unusable, esp. so on Windows machines where the options are persisted to the Registry.

- MacOS X is now one of the supported unix ports, with pre-built binaries available on the download page.

- Experimental support is provided for hierarchical module names, where a module name `A.B.C` is mapped onto the file path `A/B/C`{`.hs`,`.lhs`} and appended to each of the path prefixes in `HUGSPATH` until the name of a readable file is found.

## 7.1.6. November 2002

Feature highlights of this new release are:

- Much improved FFI support (contributed by Alastair Reid), bringing Hugs really very close to the Haskell FFI specification.

- Adoption of a significant subset of GHC's hierarchical libraries (contributed by Ross Paterson).

- An (allegedly) complete implementation of the Haskell98 module system (Sigbjorn Finne).

- Numerous bug fixes since the previous major release in Dec 2001.

## 7.1.7. November 2003

There has been substantial internal restructuring. In addition to numerous bug fixes, user-visible changes include:

- The beginnings of a User's Guide (though still incomplete).

- The `Double` type is now double-precision on most architectures.

- Hugs now relies on the same hierarchical libraries as GHC and Nhc98, and provides almost all of them. For now, compatibility with the old libraries is provided by stub modules, but users are encouraged to migrate to the new libraries.

- Full support for imprecise exceptions (but not asynchronous ones). Most runtime errors are now reported by applying `print` to an `Exception` (formerly the built-in printer was applied to the faulty redex).

- Integrated .NET support (on Windows platforms).

- The `-e`, `-f`, `-i`, `-N`, `-W` and `-X` options and the :project command have been removed.

Prev | Home |
Hugs debugging primitives |  |