Assume this situation Test/ Foo.hs <- this is module Test.Foo Bar.hs <- this is module Test.Bar Test.Foo imports Test.Bar If I cd into Test, and do ghci Bar.hs everything is fine, module Test.Bar is loaded. If I do ghci Foo.hs it complains about not being able to find Test.Bar. My request is that ghci looks "up" in the hierarchy and assumes that the user wants too look for modules in .. if the module Test.Foo lies in the file Foo.hs Of course this will not always work, symlinks and other things, but it would be useful. Now I have to do "cd ..; ghci -i. Test.Foo" instead. Regards, Martin -- Martin Norbäck Safelogic AB martin.norback@safelogic.se Stena Center 1C +46 (0)31 772 81 70 S-412 92 GÖTEBORG http://www.safelogic.se SWEDEN
participants (2)
-
Hal Daume III -
Martin Norbäck