The Hugs 98 User's Guide
Prev | Chapter 2. Using Hugs | Next

# 2.3. Getting information

:?

  Display a brief summary of the commands listed here.

:names [`pattern`...]

  List names that match any of the listed patterns and are defined in any of the currently loaded modules. Patterns resemble filename patterns: `*` matches any substring, `?` matches any character, `[``chars``]` matches any of `chars`, with `char``-``char` standing for a range of characters, and `\``char` matches `char`.

  If no patterns are given, all names defined in any of the currently loaded modules are listed.

:info [`name`]

  Describe the named objects. Qualified names may be used for objects defined or imported in any loaded module other than the current one.

  If no arguments are given, the names of all currently loaded files are printed.

:browse [`all`] [`module`...]

  List names exported by the specified modules (which must already be loaded). If "`all`" is given, list all names in scope inside the modules. If no modules are given, it describes the current module.

:version

  Print the version of the Hugs interpreter. Major releases of Hugs are identified by a month and year:

      Hugs> :version
      -- Hugs Version November 2003

  Development snapshots are identified by a date in `YYYYMMDD` form.

Prev | Home | Next
Loading and editing Haskell module files | Up | Miscellaneous commands