cloudhead/less.js — comment on commit 624c297e7be093bd2234c4fac8d2bfa085cfadae
File:  line 0
By cloudhead:

I agree. The only reason why I'm not sure about the `when` syntax is that so far, LESS doesn't have any "keywords", it also hasn't added any new "tokens" to CSS, `?` would be the first.

Instead of `or`, I was planning on using `;`, like this:

```css
.mixin (@a) ? (@a > 5); (@a < 6) { ... }
```

The coma `,` would mean *and*. So again, no new syntax or keywords would be needed.

I'll think about it though.

As for the "else" question, yes, the mixin with no condition matches by default. I don't mind too much having to explicitly specify an "opposite" condition, but we could imagine something like this too:

```css
.mixin(@a) default { ... } /* matches iff no other mixins with the same name matches.. "default" is taken from switch statements. */
```