What is the recommended way of testing several boolean expressions ?
I've been using this:
case () of () | test1 -> value1
| test2 -> value2
| otherwise -> value3
Is this good style ? is there a prettier way ?
What is the recommended way of testing several boolean expressions ?
I've been using this:
case () of () | test1 -> value1
| test2 -> value2
| otherwise -> value3
Is this good style ? is there a prettier way ?