module-management

Clean up module imports, split and merge modules https://github.com/seereason/module-management

Latest on Hackage:0.21

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by David Fox
Maintained by David Fox

Clean up module imports, split and merge modules.

Changes

haskell-module-management (0.21) unstable; urgency=low

* Rename runCleanT -> runImportsT

-- David Fox <dsf@seereason.com> Sun, 01 May 2016 12:19:48 -0700

haskell-module-management (0.20.3) unstable; urgency=low

* Changes for haskell-src-exts-1.16

-- David Fox <dsf@seereason.com> Tue, 21 Oct 2014 09:12:18 -0700

haskell-module-management (0.20.2) unstable; urgency=low

* Fix hmm compile error
* Update cabal file
* Moved to github

-- David Fox <dsf@seereason.com> Tue, 14 Oct 2014 06:21:04 -0700

haskell-module-management (0.20.1) unstable; urgency=low

* Evidently ExplicitNamespaces didn't make it into
haskell-src-exts-1.15.0, so don't try to use it.

-- David Fox <dsf@seereason.com> Thu, 05 Jun 2014 15:24:17 -0700

haskell-module-management (0.20) unstable; urgency=low

* GHC-7.8 honors the -outputdir flag for dumped imports, so look for
them there.

-- David Fox <dsf@seereason.com> Wed, 16 Apr 2014 12:33:25 -0700

haskell-module-management (0.19) unstable; urgency=low

* Increase the context-stack size from 20 to 60 to avoid crashing ghc-7.8.1

-- David Fox <dsf@seereason.com> Mon, 31 Mar 2014 08:53:21 -0700

haskell-module-management (0.18) unstable; urgency=low

* Turn off the TransformListComp extension for parsing, it makes "group"
a keyword.

-- David Fox <dsf@seereason.com> Wed, 01 Jan 2014 09:55:19 -0800

haskell-module-management (0.17.3) unstable; urgency=low

* Make changelog visible in hackage2.

-- David Fox <dsf@seereason.com> Tue, 15 Oct 2013 07:43:41 -0700

haskell-module-management (0.17.2) unstable; urgency=low

* Changes from Adam Vogt for cabal-1.18, nicer path completion.

-- David Fox <dsf@seereason.com> Fri, 13 Sep 2013 11:30:43 -0700

haskell-module-management (0.17.1) unstable; urgency=low

* Restore the -O0 option to the build of hmm.

-- David Fox <dsf@seereason.com> Wed, 04 Sep 2013 06:38:41 -0700

haskell-module-management (0.17) unstable; urgency=low

* Changes for haskell-src-exts-1.14.0

-- David Fox <dsf@seereason.com> Tue, 03 Sep 2013 06:43:41 -0700

haskell-module-management (0.16.1) unstable; urgency=low

* Add missing CLI files to extra-source-files list

-- David Fox <dsf@seereason.com> Fri, 16 Aug 2013 11:17:34 -0700

haskell-module-management (0.16) unstable; urgency=low

* Use haskeline in the hmm program (Adam Vogt)
* use case insensitive completion when it is unambiguous (Adam Vogt)
* Clean up issues involving fixities (Adam Vogt)
* Preliminary support for cabal files (Adam Vogt)
* And more by Adam...

-- David Fox <dsf@seereason.com> Fri, 16 Aug 2013 08:48:58 -0700

haskell-module-management (0.15.1) unstable; urgency=low

* Documentation updates.

-- David Fox <dsf@seereason.com> Wed, 24 Jul 2013 09:45:11 -0700

haskell-module-management (0.15) unstable; urgency=low

* Implement parsing of files which need the XmlSyntax extension (e.g. files
that need the hsx2hs preprocessor.)
* Add extraImport m i, which insert an import of module i when
generating module m.
* Use lifted-base and monad-control instead of the deprecated library
MonadCatchIO-mtl.

-- David Fox <dsf@seereason.com> Fri, 19 Jul 2013 09:52:38 -0700

haskell-module-management (0.14) unstable; urgency=low

* Use ModuleName type in some places where were were using String.

-- David Fox <dsf@seereason.com> Wed, 17 Jul 2013 11:10:49 -0700

haskell-module-management (0.13) unstable; urgency=low

* Changed cleanImports and cleanResults functions to take a list of
paths and process multiple files at once. This changed reduced the
run time of test suite from 15 minutes to 30 seconds.
* Rename runMonadClean -> runCleanT
* Simplify splitModule function signatures

-- David Fox <dsf@seereason.com> Sun, 14 Jul 2013 10:41:51 -0700

haskell-module-management (0.12.1) unstable; urgency=low

* Have pathKey and modulePath search the SourceDirs list for files.
* Fix handling of tabs - I thought haskell-src-exts worked in expanded
tab coordinates, it does not.
* Update re-exports split modules.
* Add an extraImports parameter to force a module to import certain
other modules despite what --dump-minimal-imports says. This is
sometimes needed to get access to required instances.

-- David Fox <dsf@seereason.com> Wed, 10 Jul 2013 15:07:28 -0700

haskell-module-management (0.12) unstable; urgency=low

* splitModule and splitModuleDecls now take a FilePath instead of
a module name.
* Substantial improvements to mergeModules

-- David Fox <dsf@seereason.com> Thu, 04 Jul 2013 07:15:23 -0700

haskell-module-management (0.11.1) unstable; urgency=low

* Export defaultSymbolToModule
* Allow moduleSplit to leave some symbols in the original module

-- David Fox <dsf@seereason.com> Tue, 02 Jul 2013 10:31:13 -0700

haskell-module-management (0.11) unstable; urgency=low

* Rename splitModule -> splitModuleDecls
* Add new splitModule that takes a function describing the
symbol to module mapping.

-- David Fox <dsf@seereason.com> Tue, 02 Jul 2013 09:54:00 -0700

haskell-module-management (0.10.1) unstable; urgency=low

* Changes to compile under ghc-7.4.1
* Formatting fix - eliminate extra newline added to split modules
* Find a way to include the test data without listing hundreds of files
* Add testdata tarball and debian/changelog to distribution
* Performance fixes

-- David Fox <dsf@seereason.com> Sat, 29 Jun 2013 16:57:20 -0700

haskell-module-management (0.10) unstable; urgency=low

* Extend documentation
* Fix bug which moved comments after last deco to before the first decl
* Add a rather nasty cli - Maybe shell commands are a better idea
* Fix fold so space and comments are not associated with the previous
decl, the now belong to the following decl.

-- David Fox <dsf@seereason.com> Sat, 29 Jun 2013 11:27:36 -0700

haskell-module-management (0.9.3.1) unstable; urgency=low

* Fix the package home page URL.

-- David Fox <dsf@seereason.com> Thu, 27 Jun 2013 17:05:35 -0700

haskell-module-management (0.9.3) unstable; urgency=low

* Clean up documentation for release.

-- David Fox <dsf@seereason.com> Thu, 27 Jun 2013 14:00:17 -0700

haskell-module-management (0.9.2) unstable; urgency=low

* Add a simple CLI (from Cliff Beshers)
* splitModule: Put instance declarations into an Instances module
* splitModule: Put re-exports into a ReExported module
* splitModule: Put previously private declarations into an Internal subdir
* cleanImports: Fix the way imports of types that appear in standalone
derivations are modified so their members become visible.

-- David Fox <dsf@seereason.com> Fri, 21 Jun 2013 12:39:52 -0700

haskell-module-management (0.9.1) unstable; urgency=low

* Fix verbosity handling
* Manage the set of existing modules when splits and cats occur
* Handle files with no final newline
* Speed up text handling

-- David Fox <dsf@seereason.com> Tue, 18 Jun 2013 07:13:29 -0700

haskell-module-management (0.9) unstable; urgency=low

* Major revision

-- David Fox <dsf@seereason.com> Sun, 16 Jun 2013 10:29:13 -0700

haskell-module-management (0.8.4) unstable; urgency=low

* Preserve imports required to re-export symbols in split modules.

-- David Fox <dsf@seereason.com> Wed, 12 Jun 2013 17:02:35 -0700

haskell-module-management (0.8.3) unstable; urgency=low

* Make sure identifiers imported by "as" imports get updated when modules are catted

-- David Fox <dsf@seereason.com> Wed, 12 Jun 2013 15:31:38 -0700

haskell-module-management (0.8.2) unstable; urgency=low

* Similar fix to the one in 0.8.1, but for the imports of a split
module.

-- David Fox <dsf@seereason.com> Wed, 12 Jun 2013 13:27:58 -0700

haskell-module-management (0.8.1) unstable; urgency=low

* Fix handling of declarations with top level and member symbols. There
are still some remaining issues with this when declaring multiple top
level symbols in a single declaration.

-- David Fox <dsf@seereason.com> Wed, 12 Jun 2013 12:56:10 -0700

haskell-module-management (0.8) unstable; urgency=low

* Clean up for release

-- David Fox <dsf@seereason.com> Sun, 09 Jun 2013 11:15:55 -0700

haskell-module-management (0.7.1) unstable; urgency=low

* Preserve imports of constructors required for standalone deriving declarations

-- David Fox <dsf@seereason.com> Thu, 06 Jun 2013 11:23:59 -0700

haskell-module-management (0.7) unstable; urgency=low

* Add an extensions_ field to Params, and a modifyExtensions
to update the list of extensions used to parse each file.

-- David Fox <dsf@seereason.com> Wed, 05 Jun 2013 16:11:29 -0700

haskell-module-management (0.6.2) unstable; urgency=low

* Preserve "hiding" imports in cleanImports.

-- David Fox <dsf@seereason.com> Wed, 05 Jun 2013 13:03:15 -0700

haskell-module-management (0.6.1) unstable; urgency=low

* Fix how cleanImports handles modules that are not where their module
name implies.

-- David Fox <dsf@seereason.com> Wed, 05 Jun 2013 09:20:36 -0700

haskell-module-management (0.6) unstable; urgency=low

* Rename module heirarchy, add Exports.hs, generalize Cat.

-- David Fox <dsf@seereason.com> Sat, 01 Jun 2013 10:00:01 -0700

haskell-module-management (0.5) unstable; urgency=low

* Add catModules.

-- David Fox <dsf@seereason.com> Sat, 25 May 2013 07:55:50 -0700

haskell-module-management (0.4) unstable; urgency=low

* Now provides cleanImports, moveModule, splitModule, and foldModule.

-- David Fox <dsf@seereason.com> Thu, 23 May 2013 14:14:30 -0700

haskell-module-management (0.3) unstable; urgency=low

* Sort and merge import declarations properly

-- David Fox <dsf@seereason.com> Tue, 14 May 2013 14:03:32 -0700

haskell-module-management (0.2) unstable; urgency=low

* Debianization generated by cabal-debian

-- David Fox <dsf@seereason.com> Wed, 08 May 2013 10:00:45 -0700
comments powered byDisqus