How do I specify the source search path?
Christian Maeder
maeder at tzi.de
Wed Jun 30 11:38:26 EDT 2004
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
More information about the Glasgow-haskell-users
mailing list