How do I specify the source search path?

2004-06-30 Thread S. Alexander Jacobson
I have the working code for my Haskell App Server Framework in ~/HAppS/HAppS.hs. If I want to start working on an app that uses this framework in e.g. ~/MyApp, how do I tell GHCi to resolve import HAppS? Note: The HAppS code is in active development so I don't want to put it in the system GHC

Re: How do I specify the source search path?

2004-06-30 Thread Jorge Adriano Aires
On Wednesday 30 June 2004 16:15, S. Alexander Jacobson wrote: I have the working code for my Haskell App Server Framework in ~/HAppS/HAppS.hs. If I want to start working on an app that uses this framework in e.g. ~/MyApp, how do I tell GHCi to resolve import HAppS? Note: The HAppS code is

Re: How do I specify the source search path?

2004-06-30 Thread Christian Maeder
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

Re: How do I specify the source search path?

2004-06-30 Thread Tomasz Zielonka
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