guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SRFI-9 on top of raw structs


From: Neil Jerram
Subject: Re: SRFI-9 on top of raw structs
Date: Wed, 09 Dec 2009 23:28:55 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> The problem with records is that accessors are defined with
> ‘record-accessor’, as in:
>
>   (define module-name
>     (record-accessor module-type 'name))
>
> Here, ‘record-accessor’ returns a procedure.  Until the compiler has a
> smart inliner, each ‘module-name’ call is actually a procedure call.

OK, I see now.  Thanks for explaining!

Regards,
        Neil




reply via email to

[Prev in Thread] Current Thread [Next in Thread]