title: call dynamic classname in less loop
body: <p>My <code>css</code> should look like this:</p>
  
  <pre><code>&amp;.classname {
       &amp;.prog0 {.st_0;}
       &amp;.prog10 {.st_10;}
       &amp;.prog20 {.st_20;}
       &amp;.prog30 {.st_30;}
       &amp;.prog40 {.st_40;}
       &amp;.prog50 {.st_50;}
       &amp;.prog60 {.st_60;}
       &amp;.prog70 {.st_70;}
       &amp;.prog80 {.st_80;}
       &amp;.prog90 {.st_90;}
       &amp;.prog100 {.st_100;}
  }
  </code></pre>
  
  <p>I know you can make a loop to add properties but can you make a loop for calling a function as well? My less won't compile if I just type it out :/</p>
  
  <p>I tried someting like this:</p>
  
  <pre><code>.generate(@n, @i: 0) when (@i =&lt; @n) {
      &amp;.prog@{i} {
          .st@{i});
      }
      .generate(@n, (@i + 10));
  }
  </code></pre>