Hugs

From Wikipedia, the free encyclopedia

Jump to: navigation, search
Hugs 98
Developer(s) Mark P Jones, others
Stable release September 2006 / 2006-09-21; 2 years ago
Operating system Cross-platform
Type Compiler
License BSD
Website Hugs 98 homepage

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. Hugs was originally deveolped by Mark P Jones, a professor at Portland State University.

The Hugs prompt (a Haskell REPL) 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". http://cvs.haskell.org/Hugs/pages/users_guide/faq.html. Retrieved on 2006-08-04. 
  2. ^ Simon Peyton Jones (editor) (December 2002). "Haskell 98 Language and Libraries: The Revised Report". http://haskell.org/onlinereport/. Retrieved on 2006-08-03. 
  3. ^ "Haskell 98 non-compliance". The Hugs 98 User's Guide. http://cvs.haskell.org/Hugs/pages/users_guide/haskell98.html#BUGS-HASKELL98. Retrieved on 2006-08-04. 
  4. ^ "Loading and editing Haskell module files". The Hugs 98 User's Guide. http://cvs.haskell.org/Hugs/pages/users_guide/module-commands.html. Retrieved on 2006-08-04. 

[edit] External links

Personal tools