Is it possible to somehow determine mechanically what the standard library directory of a running Hugs interpreter is? The output of :set gives the load path, but that hides the library directory as {Hugs}. Some other (unnamed, grin) tools provide similar information in their --version output, or have a special option that outputs only this. Thanks. -- This line is completely ham.
Ross> hugs -q sed -n '11s@.*"\(.*\)/packages/base/Prelude.hs":@\1@p' What does the -q do? It is not mentioned either in the manpage or in the manual. -- This line is completely ham.
On Sun, Jun 10, 2007 at 09:49:00AM -0400, Ian Zimmerman wrote:
Ross> hugs -q sed -n '11s@.*"\(.*\)/packages/base/Prelude.hs":@\1@p'
What does the -q do? It is not mentioned either in the manpage or in the manual.
It is in the manpage and section 3.1.2 of the User's Guide, but you have to remember that Hugs toggle options come in +/- pairs: +q (the default) loads modules quietly; -q doesn't.
participants (2)
-
Ian Zimmerman -
Ross Paterson