Home      Discussion      Topics      Dictionary      Almanac
Signup       Login
Hugs

Hugs

Overview
Hugs (Haskell
Haskell (programming language)
Haskell is a standardized, general-purpose purely functional programming language, with non-strict semantics and strong static typing. It is named after logician Haskell Curry.- History :...

 User's Gofer System) (also Hugs 98) is a bytecode interpreter
Interpreter (computing)
In computer science, an interpreter is a computer program which reads source code written in a high-level programming language, transforms the code to machine code, and executes the machine code. Using an interpreter, a single source file can produce equal results even in vastly different systems...

 for the functional
Functional programming
In computer science, functional programming is a programming paradigm that treats computation as the evaluation of mathematical functions and avoids state and mutable data. It emphasizes the application of functions, in contrast to the imperative programming style, which emphasizes changes in state...

 programming language
Programming language
A programming language is an artificial language designed to express computations that can be performed by a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine, to express algorithms precisely, or as a mode of human...

 Haskell
Haskell (programming language)
Haskell is a standardized, general-purpose purely functional programming language, with non-strict semantics and strong static typing. It is named after logician Haskell Curry.- History :...

. Hugs is the successor to Gofer
Gofer (software)
Gofer is an implementation of the programming language Haskell intended for educational purposes and supporting a language based on version 1.2 of the Haskell report. It has since been replaced by Hugs....

, and was originally derived from Gofer version 2.30b. 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 in several minor ways.
Discussion
Ask a question about 'Hugs'
Start a new discussion about 'Hugs'
Answer questions from other users
Full Discussion Forum
 
Encyclopedia
Hugs (Haskell
Haskell (programming language)
Haskell is a standardized, general-purpose purely functional programming language, with non-strict semantics and strong static typing. It is named after logician Haskell Curry.- History :...

 User's Gofer System) (also Hugs 98) is a bytecode interpreter
Interpreter (computing)
In computer science, an interpreter is a computer program which reads source code written in a high-level programming language, transforms the code to machine code, and executes the machine code. Using an interpreter, a single source file can produce equal results even in vastly different systems...

 for the functional
Functional programming
In computer science, functional programming is a programming paradigm that treats computation as the evaluation of mathematical functions and avoids state and mutable data. It emphasizes the application of functions, in contrast to the imperative programming style, which emphasizes changes in state...

 programming language
Programming language
A programming language is an artificial language designed to express computations that can be performed by a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine, to express algorithms precisely, or as a mode of human...

 Haskell
Haskell (programming language)
Haskell is a standardized, general-purpose purely functional programming language, with non-strict semantics and strong static typing. It is named after logician Haskell Curry.- History :...

. Hugs is the successor to Gofer
Gofer (software)
Gofer is an implementation of the programming language Haskell intended for educational purposes and supporting a language based on version 1.2 of the Haskell report. It has since been replaced by Hugs....

, and was originally derived from Gofer version 2.30b. 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 in several minor ways. 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.