Hugs

From Wikipedia, the free encyclopedia

"Hugs" the interpreter should not be confused with the physical gesture of hugging.

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 comes with a simple graphics library. As a complete Haskell implementation that is portable and simple to install, Hugs is often recommended for new Haskell users.

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 load Haskell modules at start-up.[4]

[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.

[edit] External links

In other languages