I am pleased to announce that, after a terrible struggle, version 0.13
of the module-management package is now available on hackage. The
performance has been upped from dismal to adequate (about a 30-fold
improvement) and many bugs have been fixed. The most important for
import cleaning is that
Ok, version 0.11.1 is probably my last upload for a while unless I get
some specific requests, as I need to get back to real work. It adds
the new splitModule function that lets you specify a function defining
which symbols go to which modules, with the old function replaced by a
call to
On Sat, Jun 29, 2013 at 12:09 PM, David Fox d...@seereason.com wrote:
I've just uploaded version 0.10, which corrects some formatting bugs
and incorporates most of the changes suggested in this thread. Please
give it a try!
Version 0.10.1 is now available - it should build with GHC 7.4.1,
On 07/01/2013 08:38 PM, David Fox wrote:
Should I keep posting updates in this thread?
Yes please, I'm interested in following this development! That, or get
yourself a blog and let us all know where to point our RSS readers.
- Ollie
signature.asc
Description: OpenPGP digital signature
I've just uploaded version 0.10, which corrects some formatting bugs
and incorporates most of the changes suggested in this thread. Please
give it a try!
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
David Fox d...@seereason.com writes:
Cliff Beshers wrote a CLI for this, I will add it as a cabal
executable in the next version.
Oh, also, I was unable to build the library using GHC 7.4.2. It looks like it
still depends on the old Exception stuff that used to be Prelude?
--
John Wiegley
Excerpts from John Wiegley's message of Fri Jun 28 05:46:31 +0200 2013:
How about building an executable along with the library called cleanImports,
Does it require knowledge about the libraries to be used? If so
eventually it should be a cabal option? Or it should be able to load
dependencies
I am pleased to announce the first release of module-management, a
package for cleaning import lists, and splitting and merging modules.
You can see a description at the top of the documentation for
Language.Haskell.Modules (once it appears) here:
Dear David,
would you mind adding a short intro about how to use your library?
I mean editor plugin authors may want to know whether or how to
integrate the features of your library ?
From looking at the cabal file I see there is a library and a commented
tests (by the way you can make tests
I put an intro into the top module - hackage will generate it in a
little while, but until then you can look here:
http://doc.seereason.com/libghc-module-management-doc/html/Language-Haskell-Modules.html
I commented out the test section because the test cases use the debian
module, and I didn't
let me give you an example:
splitModule :: MonadClean m = ModuleName - m ()
Split each of a module's declarations into a new module. Update the
imports of all the modules in the moduVerse to reflect the split.
Why do I want that? What does it mean?
=== start file ==
module Start where
Thanks, great feedback, clearly I've been too close to this to see
what people need to know. Let me give some answers, and they I will
integrate them into the documentation.
On Thu, Jun 27, 2013 at 6:06 PM, Marc Weber marco-owe...@gmx.de wrote:
let me give you an example:
splitModule ::
Excerpts from David Fox's message of Fri Jun 28 04:04:59 +0200 2013:
So you will get modules Start.A, Start.B and Start.C. If there are
But that's very unlikly what the programmer wants. I mean I might want
Types and Funs as module names, move A,B to Types, C to Funs.
I agree that I could
On Thu, Jun 27, 2013 at 11:18 PM, Marc Weber marco-owe...@gmx.de wrote:
Excerpts from David Fox's message of Fri Jun 28 04:04:59 +0200 2013:
So you will get modules Start.A, Start.B and Start.C. If there are
But that's very unlikly what the programmer wants. I mean I might want
Types and
There are several modes of operations that are controlled by settings
in Language.Haskell.Modules.Params:
modifyModuVerse - controls the initial set of modules whose imports
will be updated as modules are split and merged. This set is updated
as splits and merges are performed.
Since you pass a list of modules to merge, you can (must) specify the
order that the symbols will appear in the new module. So it is almost
an identity operation, unless the symbols went into the OtherSymbols
module.
On Thu, Jun 27, 2013 at 7:24 PM, Felipe Almeida Lessa
felipe.le...@gmail.com
On Thu, Jun 27, 2013 at 7:18 PM, Marc Weber marco-owe...@gmx.de wrote:
Excerpts from David Fox's message of Fri Jun 28 04:04:59 +0200 2013:
So you will get modules Start.A, Start.B and Start.C. If there are
But that's very unlikly what the programmer wants. I mean I might want
Types and Funs
David Fox d...@seereason.com writes:
I am pleased to announce the first release of module-management, a package
for cleaning import lists, and splitting and merging modules. You can see a
description at the top of the documentation for Language.Haskell.Modules
(once it appears) here:
How
On Thu, Jun 27, 2013 at 8:46 PM, John Wiegley jo...@fpcomplete.com wrote:
David Fox d...@seereason.com writes:
I am pleased to announce the first release of module-management, a package
for cleaning import lists, and splitting and merging modules. You can see a
description at the top of the
19 matches
Mail list logo