.foo {
  @for $var from 1 to 5 {a: $var;}
}
