Newsgroups: comp.lang.clos
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!MathWorks.Com!panix!zip.eecs.umich.edu!newsxfer.itd.umich.edu!jobone!ukma!ovation!admii!lhc!lhc!hunter
From: hunter@work.nlm.nih.gov (Larry Hunter)
Subject: Re: Syntax question
In-Reply-To: jason@harlequin.co.uk's message of Tue, 11 Oct 1994 11:37:03 GMT
Message-ID: <HUNTER.94Oct11105243@work.nlm.nih.gov>
Sender: news@nlm.nih.gov
Reply-To: Hunter@nlm.nih.gov
Organization: National Library of Medicine
References: <Cx6poM.J25@ucc.su.OZ.AU> <CHRISB.94Oct7112653@stork.cssc-syd.tansu.com.au>
	<JASON.94Oct11123703@wratting.harlqn.co.uk>
Date: 11 Oct 1994 14:52:43 GMT
Lines: 32



Adrian> English: Jack, put the box on the table
Adrian> 
Adrian> Smalltalk: Jack putThe: box onThe: table
Adrian> 
Adrian> C: putOn( Jack, box, table )
Adrian> 
Adrian> C++: Jack.putOn( box, table )

For LISP/CLOS:

Chris>  (putOn jack box table)

Jason>  (put-on jack box table)

Yeah, but for a CLOSier feel (not to mention a reference to our AI-sih
roots), I'd prefer:

   (put-on :actor JACK-13 :object BOX-27 :to-location TABLE-01)

Larry

--
Lawrence Hunter, PhD.
National Library of Medicine
Bldg. 38A, 9th floor
Bethesda. MD 20894 USA
tel: +1 (301) 496-9300
fax: +1 (301) 496-0673 
internet: hunter@nlm.nih.gov
encryption: RIPEM via server; PGP via "finger hunter@work.nlm.nih.gov"
