Hugs

From Wikipedia, the free encyclopedia

Hugs (Haskell User's Gofer System) (also Hugs 98) is a bytecode interpreter for the functional programming language Haskell. Hugs is the successor to Gofer, and was originally derived from Gofer version 2.30b.[1] It offers fast compilation of programs and reasonable execution speed. It also comes with a simple graphics library. Hugs is good for people learning the basics of Haskell, but is by no means a "toy" implementation. It is the most portable and lightweight of the Haskell implementations.

Hugs deviates from the Haskell 98 specification[2] in several minor ways.[3] For example, Hugs does not support mutually recursive modules. The Hugs prompt accepts expressions for evaluation, but not module, type or function definitions. Hugs can however read in text files containing Haskell modules at start-up.[4]

[edit] External links

[edit] References

  1. ^ Frequently Asked Questions about Hugs. Retrieved on 2006-08-04.
  2. ^ Simon Peyton Jones (editor) (December 2002). Haskell 98 Language and Libraries: The Revised Report. Retrieved on 2006-08-03.
  3. ^ Haskell 98 non-compliance. The Hugs 98 User's Guide. Retrieved on 2006-08-04.
  4. ^ Loading and editing Haskell module files. The Hugs 98 User's Guide. Retrieved on 2006-08-04.
In other languages