The Hugs 98 User's Guide
Prev |  |

# Chapter 9. Miscellaneous

# 9.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.

## 9.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.

## 9.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.

## 9.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

### 9.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 ...`").

### 9.1.3.2. July 2000

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

## 9.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.

## 9.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 command 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, especially on Windows machines where the options persist in 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.

## 9.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.

## 9.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.

- A searchpath may include an entry of the form "`directory``/*`", meaning all the immediate subdirectories of `directory` (see `-P` `str`).

## 9.1.8. March 2005

This release is primarily targeted at Unix systems to gain experience with new features. The new Cabal-based library build system has the potential to make building on Windows easier, but it's not there yet. Volunteers welcome.

In addition to numerous bug fixes, user-visible changes include:

- The default current module is now the empty module `Hugs.Base` instead of the `Prelude` (see Section 2.2).

- The `Char` type and the `Char` module now support Unicode as specified in the Haskell 98 Report (contributed by Dmitry Golubovsky). Character oriented I/O uses a byte encoding of characters determined by the current locale (see Section 3.3).

- The new `-X` option can be used to group several options into one argument. This is now needed for executable runhugs scripts (using the Unix "`#!`" feature) that require two or more options (see Section 4.1).

- The syntax of the ffihugs command has changed (see Section 4.2). The `+G` and `+L` options are gone, and a new `-i` option can be used to specify include files.

- Hugs now has basic support for the Cabal packaging system (see Section 3.4).

## 9.1.9. May 2006

- The default current module is now the empty module `Hugs` (see Section 2.2).

- The compatibility libraries are no longer included on the default search path. You can access them by adding "`{Hugs}/oldlib`" to the search path (see `-P` `str`), but they will be removed in the next release.

- Rewritten graphical Windows interface (contributed by Neil Mitchell; see Section 4.3).

- New :main command (contributed by Neil Mitchell).

### 9.1.9.1. September 2006

This is a minor release fixing bugs in the May 2006 release, and including updated libraries matching those of GHC 6.6.

- The built-in printer is now less verbose, making pattern-match exceptions more readable.

Prev | Home |
Frequently Asked Questions about Hugs |  |