diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2017-09-26 19:32:46 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2017-09-28 19:59:20 +0200 |
commit | 2deb4b3d9732887be3e18ad01e9505ac17eca104 (patch) | |
tree | 90cc5357cf730fbba82c4ea129c3b978091254e8 /hackage-metadata | |
parent | 34dd91fc10c0fcd33aced8a658a90cd6a6734850 (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 'hackage-metadata')
0 files changed, 0 insertions, 0 deletions