| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Storing data and code in a Db with LISP-like interface
On Tue, 02 May 2006 17:58:44 GMT, Bob Badour wrote:
> With all due respect, the type 'set' defines values and operations.
> Without the operations, the 'set' is pretty much useless.
Any ADT defines values (the domain set) and the operations defined on. ADT "Set" does it as well.
> Container libraries are for shit. Give me mathematics over some crappy
> physical implementation.
What kind of mathematics you need?
>> 4. Classes >> >> A class is a closure of a set of types. Isn't it about sets?
This is a common misconception. The domain set of a supertype is not a subset of the domain set of its subtype. There is only a mapping between these two sets. It should be injective for in-operations, surjective for out-operations.
> and a subset of operations.
Not quite. To be a suprtype means to export operations to the subtype. If all operations are exported, then they from a proper subset.
> However,
> this observation hardly leverages the power of set algebra and the
> equivalent predicate logic. Now does it?
It does not model set theory. Why should it? If you want a mathematical equivalent then category theory is closer.
> Think about tables of tables and operations
>> defined on them. That would be an RM equivalent of generic programming.
Which is exactly an application of. You know, set theory was invented solely to describe the shit around as...
-- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.deReceived on Tue May 02 2006 - 15:37:20 CDT
![]() |
![]() |