title: Test against multiple conditions on a filter in ramda
body: <p>I am currently doing the following:</p>
  
  <pre><code>(projects, query, domain) =&gt; compose(
    filter&lt;Project&gt;(propEq('domain', domain)),
    filter&lt;Project&gt;(propSatisfies(test(new RegExp(query)), 'name')),
  )(projects)
  </code></pre>
  
  <p>However, I was wondering if there was a way to avoid the extra iteration by combining the tests. I looked into <code>and</code> and <code>allPass</code>, but neither really meet my parameters. Ideally, I would have something like this:</p>
  
  <pre><code>filter&lt;Project&gt;(
    all([
      propEq('domain', domain),
      propSatisfies(test(new RegExp(query)), 'name'),
    ]),
  );
  </code></pre>
  
  <p>Is this possible in ramda?</p>