This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SRFI 9 and macro for record definition


Jocelyn Paine wrote:

>What I would like is to add an implementation of SRFI 9 "Defining Record
>Types" (http://srfi.schemers.org/srfi-9/srfi-9.html).  This can be
>implemented on top of make-record-type fairly easily (the SRFI 9
>document provides an implementation), though it would be better to
>define it using define-class.  That should not be very difficult

Per, did you or anyone else implement this?
Yes, Kawa has a decent implementation of SRFI-9 in CVS.
See http://sources.redhat.com/ml/kawa/2002-q3/msg00112.html

It most generates optimal code, with the exception of
constructors.  (I'd like to fix those, but as I recall
it didn't look trivial.)
--
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]