Issue 19702: Support zero argument iterations (ocl2-rtf) Source: Model Driven Solutions (Dr. Edward Willink, ed(at)willink.me.uk) Nature: Clarification Severity: Minor Summary: Some iterations are needlessly verbose to use for simple cases. ->sortedBy(n |n) for a simple self sort could be abbreviated to ->sortedBy() ->forAll(n | n) for ANDall could be abbreviated to ->forAll() ->exists(n | n) for ORall could be abbreviated to ->exists() ->any(true) could be abbreviated by ->any() Resolution: Revised Text: Actions taken: January 6, 2015: received issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 06 Jan 2015 12:06:20 -0500 To: Subject: Issue/Bug Report ******************************************************************************* Name: Ed Willink Employer: mailFrom: ed@willink.me.uk Terms_Agreement: I agree Specification: OCL 2.4 Section: - FormalNumber: OCL 2.4 Version: - Doc_Year: Year Doc_Month: Month Doc_Day: Day Page: - Title: Support zero argument iterations Nature: Clarification Severity: Minor CODE: 3TMw8 B1: Report Issue Remote Name: edwillink.plus.com Remote User: HTTP User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:34.0) Gecko/20100101 Firefox/34.0 Time: 12:06 PM Description: Some iterations are needlessly verbose to use for simple cases. ->sortedBy(n |n) for a simple self sort could be abbreviated to ->sortedBy() ->forAll(n | n) for ANDall could be abbreviated to ->forAll() ->exists(n | n) for ORall could be abbreviated to ->exists() ->any(true) could be abbreviated by ->any()