title: Call a function in Compass/SASS
body: <p>I want to create a function in SASS that generates different classes.
  Something like this</p>
  
  <pre><code>@function test($class-name) {
      @for $i from 1 through $tot-class {
          .#{$class-name}-#{$i} {
              //some rules
          }
      }
  }
  </code></pre>
  
  <p>but i can't figure how to call this function.
  I've tried with</p>
  
  <pre><code> @test(red);
  </code></pre>
  
  <p>or</p>
  
  <pre><code> test(red);
  </code></pre>
  
  <p>but it doesn't seem to work.
  Which is the right way?</p>