Skip to content

Conversation

jbgi
Copy link
Contributor

@jbgi jbgi commented Feb 6, 2020

  • doc fix.

@jbgi jbgi requested review from hamishmack and rvl February 6, 2020 17:10
#
# myHaskellPackages = selectProjectPackages hsPkgs;
# myTests = collectComponents' "tests" myHaskellPackages;
collectComponents' = group: collectComponents group (_: true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We use something like this in our own codebase as well, so I think this collectComponents' function is a nice addition:

our-exes = collectComponents "exes" (_: true) (selectLocalPackages self.hsPkgs);

@angerman angerman merged commit e346ccb into master Feb 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants