Re: Porting SRFI 69 to PLT
David Van Horn <[email protected]> Mon, 31 Oct 2005 15:20:43 -0500
| Newsgroups | gmane.lisp.scheme.plt.schematics |
|---|---|
| Message-ID | <[email protected]> |
Chongkai Zhu wrote: > I'm porting SRFI 69 "Basic hash tables" to PLT. Current idea is: > > 1 Constructing the 'hash function bashed on PLT's 'equal-hash-code; > 2 Using PLT's struct directly instead of SRFI-9. I'm not sure what your two points are exactly... PLT's implementation of SRFI 9 is in terms of its own structure system, so defining a SRFI 9 structure is really the same as defining a PLT structure (I believe). SRFI 69 is just a subset of the functionality of PLT's hash tables with a slightly different interface. Porting it to PLT should just be a matter of mapping one interface to the other (maybe there are more subtle issues I'm forgetting about). You shouldn't need to use the reference implementation at all, or implement any datastructures. David ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information