[plt-scheme] SRFI 9 (record) vs struct

From: Chongkai Zhu (czhu at cs.utah.edu)
Date: Tue May 29 18:36:26 EDT 2007

Check the implementation of SRFI 9 in PLT Scheme, and you will find out 
it is just syntax sugar on top of structs. Obviously structs have 
features that the SRFI 9 API doesn't export, so structs are more 
powerful. On the other side, if you want portable Scheme code, quite 
many Scheme implementations supports SRFI 9, but structs is specific to PLT.

Chongkai

YC wrote:
> Hi all -
>
> just wondering whether people have experiences with SRFI 9 on whether 
> it's useful.  Are there reasons to use records instead of structs?  It 
> seems that the two concepts are at best equivalent.
>
> Thanks,
> yinso
>



Posted on the users mailing list.