> func adjustTemperature(temp:[low|normal|high]) {
> // ...
> }
>
> adjustTemperature(.high)
This is clever, and I certainly understand the appeal, but sooner or later someone is going to want to store a value that's intended to go into this parameter in a variable, and then what do they do?
--
Brent Royal-Gordon
Architechies