Problem in load path in CVS repository version of Hugs

Alastair David Reid reid@cs.utah.edu
27 Feb 2002 19:05:08 +0000


> Simply write

>    /home/reid/local/bin/runhugs -P/home/reid/local/gc-2.01/src: GreenCard

Thanks, that does the trick.

Now let's see if I understand why it works.

  Using GreenCard (a module name) instead of GreenCard.lhs (a
  filename) meant that Hugs added the directory containing
  GreenCard.lhs (i.e., /home/reid/local/gc-2.01/src) to the list of
  directories to search in the future so that when it later looked for
  the module Parse, it (correctly) looked in
  /home/reid/local/gc-2.01/src

Is that it?

[Sorry if I seem a bit thick here - you kept me very well informed of
the changes you were making to the search path but I was pretty
distracted by my family, returning to Glasgow and starting a (computer
consulting) company and didn't pay as much attention as I should
have.]

-- 
Alastair Reid        reid@cs.utah.edu        http://www.cs.utah.edu/~reid/