Issue 6884: The notation when nesting "if then else" is too verbose (ocl2-rtf) Source: France Telecom R&D (Mr. Mariano Belaunde, mariano.belaunde(at)orange.com) Nature: Uncategorized Issue Severity: Summary: Suggestion: Define a "switch" collection function, with a sepecific notation, as in: mylist->switch( iterator | cond1 ? exp1, cond2 ? exp2, …, else ? expN) The expressions cond2 is not evaluated if cond1 returns true and so on. Resolution: Revised Text: Actions taken: January 7, 2004: received issue Discussion: This is a request to improve the language. Better solved in a RTF. End of Annotations:===== SSUE: The notation when nesting "if then else" is too verbose. Suggestion: Define a "switch" collection function, with a sepecific notation, as in: mylist->switch( iterator | cond1 ? exp1, cond2 ? exp2, …, else ? expN) The expressions cond2 is not evaluated if cond1 returns true and so on.