aboutsummaryrefslogtreecommitdiff
path: root/Setup.hs
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 /Setup.hs
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 'Setup.hs')
0 files changed, 0 insertions, 0 deletions