Re: [Haskell-cafe] ANN: fix-imports-0.1.2

2011-07-13 Thread Evan Laforge
On Wed, Jul 13, 2011 at 3:05 PM, Markus Läll wrote: > One thing that to look out for though is that it first checks for > modules from the current directory down -- so running it in somewhere > you happen to have ghc sources too, will have all that come with it > imported from there (and lines lik

Re: [Haskell-cafe] ANN: fix-imports-0.1.2

2011-07-13 Thread Markus Läll
I have used it a little and it worked quite nicely. One thing that to look out for though is that it first checks for modules from the current directory down -- so running it in somewhere you happen to have ghc sources too, will have all that come with it imported from there (and lines like "impor

Re: [Haskell-cafe] ANN: fix-imports-0.1.2

2011-07-13 Thread Evan Laforge
On Wed, Jul 13, 2011 at 12:08 PM, Henning Thielemann wrote: > I also spend some time on managing imports. I'll try this program. However, > usually I have a mix of qualified and unqualified imports, since some > libraries are designed for unqualified imports. You can still use unqualified imports

Re: [Haskell-cafe] ANN: fix-imports-0.1.2

2011-07-13 Thread Henning Thielemann
On 12.07.2011 09:59, Evan Laforge wrote: I meant more in the "Before: ... After: ..." sense ;-) (i.e. visually being able to tell what your program does, rather than just a description). Oh, ok, I guess I can do that too: Before: module M where import ZZ.Out.Of.Order import qualified No.Longe

Re: [Haskell-cafe] ANN: fix-imports-0.1.2

2011-07-12 Thread Evan Laforge
> I meant more in the "Before: ... After: ..." sense ;-) (i.e. visually > being able to tell what your program does, rather than just a > description). Oh, ok, I guess I can do that too: Before: module M where import ZZ.Out.Of.Order import qualified No.Longer.Needed as Needed -- x = Needed.y --

Re: [Haskell-cafe] ANN: fix-imports-0.1.2

2011-07-12 Thread Ivan Lazar Miljenovic
On 12 July 2011 17:18, Evan Laforge wrote: > On Mon, Jul 11, 2011 at 11:48 PM, Ivan Lazar Miljenovic > wrote: >>> A small standalone program to manage the import block of a haskell >>> program. It will try to add import lines for qualified names with no >>> corresponding import, remove unused imp

Re: [Haskell-cafe] ANN: fix-imports-0.1.2

2011-07-12 Thread Evan Laforge
On Mon, Jul 11, 2011 at 11:48 PM, Ivan Lazar Miljenovic wrote: >> A small standalone program to manage the import block of a haskell >> program. It will try to add import lines for qualified names with no >> corresponding import, remove unused import lines, and sort the import >> block according t

Re: [Haskell-cafe] ANN: fix-imports-0.1.2

2011-07-11 Thread Ivan Lazar Miljenovic
On 12 July 2011 16:09, Evan Laforge wrote: > Not sure if anyone else is using this, but I've fixed some bugs and > bumped fix-imports by a few more versions. > > Here's copy paste from the package description: > > A small standalone program to manage the import block of a haskell > program. It wil

[Haskell-cafe] ANN: fix-imports-0.1.2

2011-07-11 Thread Evan Laforge
Not sure if anyone else is using this, but I've fixed some bugs and bumped fix-imports by a few more versions. Here's copy paste from the package description: A small standalone program to manage the import block of a haskell program. It will try to add import lines for qualified names with no co