Most Hugs commands take arguments, separated from the command itself, and from one another, by spaces. The Haskell syntax for string constants can be used to enter parts of arguments that contain spaces, newlines, or other special characters. For example, the command:
:load My Filewill be treated as a command to load two files, My and File. Any of the following commands can be used to load a single file, My File, whose name includes an embedded space:
:load "My File" :load "My\SPFile" :load "My\ \ File" :load My" "FileYou may wish to study the lexical syntax of Haskell strings to understand some of these examples. In practice, filenames do not usually include spaces or special characters and can be entered without surrounding quotes, as in:
:load fact.hsThe full set of Hugs commands is described in the following sections.
Basic commands
Loading and editing modules and projects
Finding information about the system