title: Ramda: get objects from array by comparing with each item in another array
body: <p>I've an array like:</p>
  
  <pre><code>ids = [1,3,5];
  </code></pre>
  
  <p>and another array like:</p>
  
  <pre><code>items: [
  {id: 1, name: 'a'}, 
  {id: 2, name: 'b'}, 
  {id: 3, name: 'c'}, 
  {id: 4, name: 'd'}, 
  {id: 5, name: 'e'}, 
  {id: 6, name: 'f'}
  ];
  </code></pre>
  
  <p>What I want is another array like:</p>
  
  <pre><code>array = [{id: 1, name: 'a'}, {id: 3, name: 'c'}, {id: 5, name: 'e'}];
  </code></pre>
  
  <p>I can't get my head around it. so far i tried like:</p>
  
  <pre><code>console.log(R.filter(R.propEq('id', &lt;donnow what shud be here&gt;), items);
  console.log( R.pick(ids)(items))
  </code></pre>