Search the web
Sign In
New User? Sign Up
gobo-eiffel · Gobo Eiffel
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 1719 - 1748 of 1767   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1719
Hi, The second line of {AP_DISPLAY_HELP_FLAG}.alternative_usage_instruction should be args.append_string (a_list.introduction_option.example) instead of ...
olivier.ligot
Offline Send Email
May 27, 2009
7:08 am
1720
Hi, How do I compare two DS_HASH_TABLE objects for object equality? /Paul -- Paul Cohen www.seibostudios.se mobile: +46 730 787 035 e-mail:...
Paul Cohen
pacoispaco@...
Send Email
May 31, 2009
6:35 pm
1721
... I don't know what you mean. Do you want to consider two hash tables equal if the items they contain are equal? If so, what does it mean for two items in...
Eric Bezault
gobosoft
Offline Send Email
May 31, 2009
6:45 pm
1722
... Paul> Hi, How do I compare two DS_HASH_TABLE objects for object Paul> equality? I would use for_all_with_key for this, I think (after first testing that...
Colin Paul Adams
colin@...
Send Email
May 31, 2009
7:04 pm
1723
... I am aware that there are different ways of defining equality between two tables t1 and t2. My assumption was something like: t1.keys.is_equal (t2.keys)...
Paul Cohen
pacoispaco@...
Send Email
May 31, 2009
9:06 pm
1724
... I don't see how `equality_tester' has more to do with how hash table works than what you try to do. I guess you're confusing `equality_tester' with...
Eric Bezault
gobosoft
Offline Send Email
May 31, 2009
9:48 pm
1725
... The 'key_equality_tester' and 'equality_tester' are properties of the hash table, not of the keys or the items in the hash_table. ... No, I am refering to...
Paul Cohen
pacoispaco@...
Send Email
Jun 1, 2009
12:01 am
1726
... 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...
Eric Bezault
gobosoft
Offline Send Email
Jun 1, 2009
7:43 am
1727
... 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@...
Send Email
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...
Helmut Brandl
helmut_l_brandl
Offline Send Email
Jun 3, 2009
4:37 pm
1729
... 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@...
Send Email
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...
Peter Gummer
peter_gummer
Offline Send Email
Jun 4, 2009
1:44 am
1731
... 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 Brandl
helmut_l_brandl
Offline Send Email
Jun 4, 2009
3:00 pm
1732
... 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@...
Send Email
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 Brandl
helmut_l_brandl
Offline Send Email
Jun 4, 2009
3:54 pm
1734
... 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@...
Send Email
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...
Helmut Brandl
helmut_l_brandl
Offline Send Email
Jun 4, 2009
5:37 pm
1736
... 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...
Peter Gummer
peter_gummer
Offline Send Email
Jun 4, 2009
11:45 pm
1737
... 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...
Peter Gummer
peter_gummer
Offline Send Email
Jun 5, 2009
12:00 am
1738
... 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...
Helmut Brandl
helmut_l_brandl
Offline Send Email
Jun 5, 2009
12:36 am
1739
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 ...
Bernd Schoeller
berndschoeller
Offline Send Email
Jun 5, 2009
7:38 am
1740
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. ...
Helmut Brandl
helmut_l_brandl
Offline Send Email
Jun 5, 2009
2:27 pm
1741
... 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...
Franck Arnaud
nenieorg
Offline Send Email
Jun 8, 2009
1:25 am
1742
... 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...
Franck Arnaud
nenieorg
Offline Send Email
Jun 8, 2009
1:39 am
1743
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 de Boer
berenddeboer
Online Now Send Email
Jun 8, 2009
5:10 pm
1744
... 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...
Berend de Boer
berenddeboer
Online Now Send Email
Jun 9, 2009
1:37 pm
1745
... 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 Bezault
gobosoft
Offline Send Email
Jun 16, 2009
9:22 pm
1746
... This is fixed now. -- Eric Bezault mailto:ericb@... http://www.gobosoft.com...
Eric Bezault
gobosoft
Offline Send Email
Jun 17, 2009
7:54 am
1747
... 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...
Berend de Boer
berenddeboer
Online Now Send Email
Jun 17, 2009
10:00 am
1748
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...
jann_roeder
Offline Send Email
Jul 6, 2009
7:57 pm
Messages 1719 - 1748 of 1767   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help