[Haskell-cafe] Hint's setImports usage

Martin Hilbig lists at mhilbig.de
Fri Dec 21 00:35:04 CET 2012


hi,

how to use Language.Haskell.Interpreter.setImports?

i use it like:

   setImports ["My.Module"]

so that my interpreted modules don't need to:

   import My.Module

But i still get:

   Not in scope: data constructor `MyType'

What am i doing wrong?

Thanks in advance.

have fun
martin



More information about the Haskell-Cafe mailing list