[Haskell-cafe] Useful IDE features - What abaut automatically adding import statements?

Marc Weber marco-oweber at gmx.de
Sun Jun 17 06:43:37 EDT 2007


On Sun, Jun 17, 2007 at 10:58:04AM +0100, David House wrote:
> Marc Weber writes:
>  > Eclipse does have this which saves you a lot of time:
>  > Fix imports.
> 
> Could you describe the semantics of that more precisely?

You get the error:
Not in scope 'c'

and the IDE should figure out automatically which used packages have
modules exporting c.
Then it should ask wether you want import one of those modules and add
the module to the import list.

Marc


More information about the Haskell-Cafe mailing list