aboutsummaryrefslogtreecommitdiff
path: root/cabal-helper.cabal
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2017-09-26 19:32:46 +0200
committerDaniel Gröber <dxld@darkboxed.org>2017-09-28 19:59:20 +0200
commit2deb4b3d9732887be3e18ad01e9505ac17eca104 (patch)
tree90cc5357cf730fbba82c4ea129c3b978091254e8 /cabal-helper.cabal
parent34dd91fc10c0fcd33aced8a658a90cd6a6734850 (diff)
Simplify Distribution.Helper API
Component queries are now done using Applicative (actually semigroupoids Apply) syntax, for example: runQuery _ $ components $ (,,) <$> ghcOptions <*> sourceDirs :: IO [([GhcOption], [SourceDir], ChComponentName)] Note that 'component' adds the 'ChComponentName' at the end.
Diffstat (limited to 'cabal-helper.cabal')
-rw-r--r--cabal-helper.cabal1
1 files changed, 1 insertions, 0 deletions
diff --git a/cabal-helper.cabal b/cabal-helper.cabal
index b3131a1..07aadb4 100644
--- a/cabal-helper.cabal
+++ b/cabal-helper.cabal
@@ -62,6 +62,7 @@ library
, mtl < 2.3 && >= 2.0
, process < 1.7 && >= 1.1.0.1
, unix < 2.8 && >= 2.5.1.1
+ , semigroupoids < 5.3 && >= 5.2.1
executable cabal-helper-wrapper
default-language: Haskell2010