How do I specify the source search path?

Tomasz Zielonka t.zielonka at students.mimuw.edu.pl
Wed Jun 30 12:30:33 EDT 2004


On Wed, Jun 30, 2004 at 04:27:35PM +0100, Jorge Adriano Aires wrote:
> Using the -i flag. Unfortunatly relative paths (using '~') don't seem to work, 
> so you have to type the full path: ghci -i/home/user/HAppS/

Thats because GHCi insists that there be no space between -i and the
path, and shell tilde expansion won't work it such situation.

-i$HOME/HAppS/ should work.

Hint: you can put this in your .ghci
    :set -i/full/path/to/homedir/HAppS/

Best regards,
Tom

-- 
.signature: Too many levels of symbolic links


More information about the Glasgow-haskell-users mailing list