title: Loop over an array of name value pairs in LESS
body: <p>Is there some way to loop an array of name/value pairs LESS? Something like this:</p>
  
  <pre><code>arr = alice: black, bob: orange;
  
  .for(arr) // something something //
     .cl-@{name} {
         background-color: @{value}
     }
  </code></pre>
  
  <p>To generate something like this:</p>
  
  <pre><code>.cl-alice { background-color: black; }
  .cl-bob { background-color: orange; }
  </code></pre>
  
  <p>I know that you can <a href="https://stackoverflow.com/a/21441220/3713">for-loop an array</a>, but I'm unsure if it can be an array of objects rather than values in LESS.</p>