[Haskell-cafe] using ghc as a library

Anatoly Yakovenko aeyakovenko at gmail.com
Mon Oct 27 16:45:40 EDT 2008


On Mon, Oct 27, 2008 at 3:27 AM, Thomas Schilling
<nominolo at googlemail.com> wrote:
> I'm not quite sure what you are trying to do.  But for what it's
> worth, you can load a specific file via
>
>  setTarget [Target (TargetFile "foo/blah.hs") True Nothing]

right, but I cant do that from inside a module in place of an import.
Is there any way to for me to somehow tell ghc, or my wrapper, that I
want to load a module from a specific directory, regardless of what
the current include flags are?

Anatoly


More information about the Haskell-Cafe mailing list