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/

right '~' is not expanded, but '-i../HApps:.' should work

As far as I know, there is also no way to specify the search path in an environment var, so my solution was to add to my .alias:
alias ghci='ghci -i/home/jadrian/Program/Haskell/MyLibs'
alias ghc='ghc -i/home/jadrian/Program/Haskell/MyLibs'

you can put

:set -i/home/user/HAppS:...

in your ~/.ghci file

Christian

_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to