Community
Participate
Working Groups
The syntax of the iterate operation as described in the Epsilon Book, e.g. var msbs : OrderedSet(Integer) := self.getFields().collect(field | field.msb).asOrderedSet(); var maxMsb : Integer := 0; msb := msbs.iterate(msb : Integer; x : Integer = 0 | msb.max(x)); The iterate operation fails to parse, although I think this conforms to the format identified in the Epsilon book. This form also fails to parse: msb := msbs.iterate(msb; x=0 | msb.max(x)); Discussed with Dimitris 20-May-2010
(In reply to comment #0) > The syntax of the iterate operation as described in the Epsilon Book, e.g. > var msbs : OrderedSet(Integer) := self.getFields().collect(field | > field.msb).asOrderedSet(); > var maxMsb : Integer := 0; > msb := msbs.iterate(msb : Integer; x : Integer = 0 | msb.max(x)); > > The iterate operation fails to parse, although I think this conforms to the > format identified in the Epsilon book. This form also fails to parse: > msb := msbs.iterate(msb; x=0 | msb.max(x)); > > Discussed with Dimitris 20-May-2010 Is there anything new on this Bug?
iterate() is no longer supported in EOL so I suspect it makes sense to close this bug as invalid