diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2014-04-24 09:05:45 +0200 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-04-25 19:10:55 +0200 |
commit | 07388af843ad61757207a54d75ab336606beed4f (patch) | |
tree | 2546223341397a70e66941bb0631c92f25deba67 /libraries/template-haskell/template-haskell.cabal | |
parent | 4ceb5dec42ff8d17e24ed80d0265eb8fb60dd804 (diff) | |
download | haskell-07388af843ad61757207a54d75ab336606beed4f.tar.gz |
Drop `template-haskell`'s build-dep on `containers`
This is an attempt to address
https://github.com/haskell/cabal/issues/1811
by replicating the less than 100 lines of code actually used from the
containers package into an internal non-exposed `template-haskell` module.
Moreover, `template-haskell` does not expose the `Map` type, so this change
should have no visible effect on the public API.
It may turn out that `Data.Map` is not necessary and that even a simple
list-based associative list (`Prelude.lookup`) may suffice. However, in
order to avoid any regressions, this commit takes the safe route and just
clones `Data.Map` for now.
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Diffstat (limited to 'libraries/template-haskell/template-haskell.cabal')
-rw-r--r-- | libraries/template-haskell/template-haskell.cabal | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libraries/template-haskell/template-haskell.cabal b/libraries/template-haskell/template-haskell.cabal index ca0e344f85..fb8dbd7ab0 100644 --- a/libraries/template-haskell/template-haskell.cabal +++ b/libraries/template-haskell/template-haskell.cabal @@ -42,9 +42,11 @@ Library Language.Haskell.TH.Quote Language.Haskell.TH.Syntax + other-modules: + Language.Haskell.TH.Lib.Map + build-depends: base == 4.7.*, - containers == 0.5.*, pretty == 1.1.* -- We need to set the package name to template-haskell (without a |