... I don't agree with that. Objects can be compared in many different ways, regardless whether they are used in hash tables or not. `is_equal' is just one way...
... Ok. I agree with what you're saying. However, I still maintain that `key_equality_tester' and `equality_tester' are properties of DS_HASH_TABLE. There are...
Paul Cohen
pacoispaco@...
Jun 1, 2009 11:55 am
1728
Hello Paul, I think the basic question is "What does equality mean?". Considering expanded type objects like INTEGERs or REALs, everything is clear. a = b...
... I would say it is consistent, but definitely not trivial. :-) The general notion of equality is certainly not trivial! ... I agree. Maybe "==". would look...
Paul Cohen
pacoispaco@...
Jun 3, 2009 11:43 pm
1730
... I think Helmut was wishing that '=' between reference types had been used for object equality, as it is between expanded types. I've often wished the same...
... Exactly. I would like to have to most natural operator to express object equality. And that is "=". I guess in the majority of the cases the user wants to...
... Helmut> But why have different operators of object equality and Helmut> reference equality in the first place? Why not Helmut> a = b -- test for object...
Colin Paul Adams
colin@...
Jun 4, 2009 3:46 pm
1733
... For me an agent is an object which represents a feature and has some open and closed arguments. Two agents shall be equal if they represent the same...
... Helmut> For me an agent is an object which represents a feature Helmut> and has some open and closed arguments. Two agents shall Helmut> be equal if they...
Colin Paul Adams
colin@...
Jun 4, 2009 4:27 pm
1735
... Ok, now I understand what you mean. But I guess that the agents representing `double_1' and `double_3' cannot be equal, because they represent different...
... I assume you meant to add the values rather than multiply them, right? Result := a_value + a_value Nice example of a contract and its implementation both...
... True, but it's fun to dream of what Eiffel++ might look like ;-) Following this logic through, we should change the assignment operator to perform copy...
... I am glad that there a persons out thinking about beyond ECMA. ... I am not sure if I would go so far. Why do you use a := b.twin? Usually this is not...
Hi everybody, Had to catch up to this interesting discussion. Just want to add my 5 cents: Eric is perfectly right that there are many ways to compare objects ...
Hello Bernd, nice to read your comment and learning something about what has been discussed for ECMA Eiffel. I am very interested about anything in that area. ...
... is it not? I'm not sure I've ever encountered a legitimate use case for deep_twin in many years of Eiffel. at work, we have some legacy deep_clone in the...
... because you're leaking implementation, the concept of reference equality is way more essential to the OO model (even if not essential enough to warrant...
Hi All, I've encountered a regular expression that causes a loop not to terminate. It happens when you want to insert something at the ... class TEST create ...
... Berend> What happens is that the start position is 1, and the end Berend> position is 0. has_matched is always true. I'm not sure Berend> how to solve...
... I now fixed it in the SVN repository in such a way that it works as well when there is no ^ at the beginning of the regexp. In that case it is assumed that...
... Eric> I now fixed it in the SVN repository in such a way that it Eric> works as well when there is no ^ at the beginning of the Eric> regexp. In that case...
Hi, there seems to be a bug in {DS_BINARY_SEARCH_TREE_SET}.copy . The problem is, that internal_cursor is still Void when copy is called (by .twin). The Void...
Hi, I'm trying to compile gutentag but I have the following error: Error code: VTCT Error: type is based on unknown class. What to do: use an identifier that...
... This is the consequence of the effort to try to support ECF in Gobo, and hence the notion of libraries as specified in ECF. As a consequence *UNVIVERSE*...
... Eric> This is the consequence of the effort to try to support ECF Eric> in Gobo, Quisling! -- Colin Adams Preston Lancashire...
Colin Paul Adams
colin@...
Jul 15, 2009 3:48 pm
1752
... What should I do, create a third group in the Eiffel community (after SmartEiffel and ISE)? Personally I want to be able to use the same config files to...
Dear all: As Oliver Ligot found out gutentag is broken starting from at least EiffelStudio 6.3. Thankfully he also proposed a fix. Due to time constraints I am...
Hello! The creation question dll with use of Gobo compiler very interests. How correctly to specify option shared_library_definition in ace file for gobo?...