

Any occurrence of " and prints the prompt so that furtherĬommands can be entered. Replaced by the previous search path a null str means the default P str Set search path for source files to str, which should be aĬolon-separated list of directories. r str Set repeat last expression string to str (default: $$). In the prompt will be replaced by the current module name.

The choice making no difference) are: -h num Set heap size (cannot be changed within Hugs default: 250K) -p str Set prompt string to str (default: ` %s> '). Other options (in which - could be replaced by +,
#Hugs 98 sourc full
Off) +Q Qualify names when printing (default: off) +k Show kind errors in full (default: off) +u Use " show" to display results (default: on) +I Display results of IO programs (default: off) Parameters ¶ Off) +g Print number of cells recovered after each garbage collection (default: Print dots to show progress while loading modules (default: off) +q Print nothing to show progress while loading modules (default: on) +w Always show which files are loaded (default: off) Expression evaluation ¶ +s Print number of reductions/cells after each evaluation (default: off) +t Print type after each evaluation (default: off) +T Apply the Haskell defaulting rules before printing types (default: +o Allow overlapping instances (a Hugs extension default: off) +O Allow unsafe overlapping instances (a Hugs extension default: off) +H Allow `here documents' (a Hugs extension default: off) Module loading ¶ +l Treat files whose names end in neither `. Turning this off enables several special Hugs extensions, which areĭescribed in the Hugs 98 User Manual. Language conformance ¶ +98 Accept only Haskell 98 (cannot be changed within Hugs default: Some options are toggled with + or - to turn them on S option, described under OPTIONS.) It also tries nameĪs a literal filename. (The recognized suffixes may be changed using the ' in name withĪ ` /' and looks in each of the directories on its search path (see Other modules listed on the command line.Įach Haskell module is stored in a separate file. Processing options, it loads the standard module Prelude and any The interpreter is started using the hugs command. The name Hugs isĪ mnemonic for the Haskell User's Gofer System. Hugs implements almost all of the Haskellĩ8 standard, except for mutually recursive modules. Hugs is an interpreter for Haskell, a standard non-strictįunctional programming language. Hugs, runhugs, ffihugs - Hugs 98, functional programmingįfihugs module
