🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.clos
Article #170

Re: Generic Macro Proposal (was Re: Beginner's Question - CLOS)

#170
From: Jeff Dalton
Date: Tue, 25 Aug 1992 17:41
16 lines
1372 bytes
> In article <graham.714740051@galois> graham@maths.su.oz.au (Graham Matthews) writes:
> >Why not take this the whole hog and treat your object heirarchy as an
> >ordered set (which it is in the single inheritance model - not sure
> >about multiple inheritance) and allow the programmer to write a type
> >spec like
> >
> >	function f( <= type_A, > type_B )
> 
> This is meaningful even with multiple inheritance, because the the class
> hierarchy is a DAG, so there's a partial order, which is all you need.

I think it's like this: There's a partial order if < means subclass,
but not if it means "more specific".  (You might have A < B in the cpl
of one class and B < A in the cpl of another.)  In single inheritance,
there's a partial order in both cases.  But I'm not sure what Graham
meant < to be.
Technical Details
Message-ID: <11109.9208251741@subnode.aiai.ed.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!yale.edu!yale!gumby!wupost!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!aiai.edinburgh.ac.uk!jeff

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!yale.edu!yale!gumby!wupost!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!aiai.edinburgh.ac.uk!jeff
From: jeff@aiai.edinburgh.ac.uk (Jeff Dalton)
Newsgroups: comp.lang.clos
Subject: Re: Generic Macro Proposal (was Re: Beginner's Question - CLOS)
Message-ID: <11109.9208251741@subnode.aiai.ed.ac.uk>
Date: 25 Aug 92 17:41:01 GMT
Article-I.D.: subnode.11109.9208251741
Sender: daemon@cis.ohio-state.edu
Organization: The Ohio State University Department of Computer and Information Science
Lines: 16