Re: [ooc-compiler] Usage of ADT:Dictionary
Brought to you by:
mva
|
From: Michael v. A. <mic...@gm...> - 2005-07-03 14:43:27
|
On 6/26/05, vedmed <ve...@in...> wrote: > The library oo2c contains very useful object ADT:Dictionary.Dictionary. > This object has procedure of check of existence of a key and procedure > of reception of value on a key, but does not contain procedure returning > simultaneously value on a key, and an attribute of existence instead of > exception. It compels in cases similar to > ... [...] > ... > I can easily add manually such procedure in module Dictionary, but > would like to see it in structure of standard library. However if there > are basic objections against existence of such procedure I would like > them to hear. No objections from my side. I would prefer the name "Lookup" instead=20 of "Find", though. This conflicts with the current private Lookup() method= , but its name can be easily changed. If you provide me with a patch for ADT:Dictionary and the other three dictionary modules (ADT:Dictionary:AddressKey and so on), then I will add it to the std library. -- mva |