Abstract Collections vs. FunDeps

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Sat Apr 10 13:01:02 EDT 2004


W liście z pią, 02-04-2004, godz. 11:21 +0200, Robert Will napisał:

> In section 0, I explain FunDeps for people like me.  Section 1 shows that
> a certain kind of FunDeps can always be expressed with Constructor
> classes.

It forces types with parameters where they might not be desirable.
For example if we have "Collection c e" class instead of "Collectio ce e",
we can't make the PackedString type its instance. We must give it a
dummy parameter, always instantiated to Char.

I once tried to design collection classes and failed.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak at knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/




More information about the Libraries mailing list