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

From: YC (yinso.chen at gmail.com)
Date: Tue May 29 19:22:09 EDT 2007

Hi Chongkai -

That makes sense - Thanks for the info ;)

yinso

On 5/29/07, Chongkai Zhu <czhu at cs.utah.edu> wrote:
>
> 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
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20070529/7d81b163/attachment.html>

Posted on the users mailing list.