Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)
From: erk <eric.kaun_at_gmail.com>
Date: 2 Jun 2006 10:51:43 -0700
Message-ID: <1149270703.520166.278590_at_g10g2000cwb.googlegroups.com>
Date: 2 Jun 2006 10:51:43 -0700
Message-ID: <1149270703.520166.278590_at_g10g2000cwb.googlegroups.com>
David Cressey wrote:
Neither types nor domains "include" operators. Functions can be defined
over one or more types, but calling a function an operator is
imprecise. I suppose "operator" generally means a function of type T
-> X or of type X -> T (constructor), but really only functions of type
T -> T -> ... -> T could properly be said to be "included" in type T.
> I thought the diffence between a "domain" and a "type" was precisely that
> types include operators while domains do not.
- erk